Commit 652300f5 authored by Peter Eisentraut's avatar Peter Eisentraut

pgcrypto: Remove inappropriate const qualifier

The function in question does not in fact ensure that the passed
argument is not changed, and the callers don't care much either.
parent 7064fd06
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment