diff options
-rw-r--r-- | contrib/pgcrypto/mbuf.c | 2 | ||||
-rw-r--r-- | contrib/pgcrypto/mbuf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pgcrypto/mbuf.c b/contrib/pgcrypto/mbuf.c index 6246900c7ae..a2c5293efbc 100644 --- a/contrib/pgcrypto/mbuf.c +++ b/contrib/pgcrypto/mbuf.c @@ -136,7 +136,7 @@ mbuf_create(int len) } MBuf * -mbuf_create_from_data(const uint8 *data, int len) +mbuf_create_from_data(uint8 *data, int len) { MBuf *mbuf; diff --git a/contrib/pgcrypto/mbuf.h b/contrib/pgcrypto/mbuf.h index 37d2db53371..da016c0a539 100644 --- a/contrib/pgcrypto/mbuf.h +++ b/contrib/pgcrypto/mbuf.h @@ -77,7 +77,7 @@ struct PullFilterOps * Memory buffer */ MBuf *mbuf_create(int len); -MBuf *mbuf_create_from_data(const uint8 *data, int len); +MBuf *mbuf_create_from_data(uint8 *data, int len); int mbuf_tell(MBuf *mbuf); int mbuf_avail(MBuf *mbuf); int mbuf_size(MBuf *mbuf); |