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:
parent
7064fd0648
commit
652300f539
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user