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.
This commit is contained in:
Peter Eisentraut 2012-01-15 14:00:52 +02:00
parent 7064fd0648
commit 652300f539
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);