Commit 9049ade6 authored by Niels Möller's avatar Niels Möller

(nettle_buffer_init_realloc): Use an explicit pointer for realloc

argument.

Rev: nettle/buffer.c:1.2
Rev: nettle/buffer.h:1.2
parent 330ed2a8
......@@ -61,7 +61,7 @@ nettle_buffer_grow(struct nettle_buffer *buffer,
void
nettle_buffer_init_realloc(struct nettle_buffer *buffer,
void *realloc_ctx,
nettle_realloc_func realloc)
nettle_realloc_func *realloc)
{
buffer->contents = NULL;
buffer->alloc = 0;
......
......@@ -52,7 +52,7 @@ nettle_buffer_init(struct nettle_buffer *buffer);
void
nettle_buffer_init_realloc(struct nettle_buffer *buffer,
void *realloc_ctx,
nettle_realloc_func realloc);
nettle_realloc_func *realloc);
/* Initializes a buffer of fix size */
void
......
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