Fix function declaration of ws_buffer_length().

This makes it match 1) the way the function is defined, if it is defined
and 2) the type returned if it's a macro, not a function.

Change-Id: I708a44d2d20f44e58d6ae0228a11e622e7648022
Reviewed-on: https://code.wireshark.org/review/27320
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-05-03 19:25:18 -07:00
parent 895cfbfd01
commit 0d9a7455a6
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ void ws_buffer_cleanup(void);
#else
void ws_buffer_clean(Buffer* buffer);
void ws_buffer_increase_length(Buffer* buffer, unsigned int bytes);
unsigned int ws_buffer_length(Buffer* buffer);
unsigned gsize ws_buffer_length(Buffer* buffer);
guint8* ws_buffer_start_ptr(Buffer* buffer);
guint8* ws_buffer_end_ptr(Buffer* buffer);
void ws_buffer_append_buffer(Buffer* buffer, Buffer* src_buffer);