summaryrefslogtreecommitdiff
path: root/include/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/buffer.h')
-rw-r--r--include/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/buffer.h b/include/buffer.h
index 5b854f3..aa753b4 100644
--- a/include/buffer.h
+++ b/include/buffer.h
@@ -13,6 +13,6 @@ void buffer_flush(struct buffer *b,
void (*cb)(void *buffer_data,
void *data),
void *data);
-unsigned int buffer_size(struct buffer *b);
+unsigned int buffer_size(const struct buffer *b);
#endif