Skip to content
Snippets Groups Projects
Commit 652300f5 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment