aboutsummaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/buffer.h b/buffer.h
index 190f579..fc509b8 100644
--- a/buffer.h
+++ b/buffer.h
@@ -14,7 +14,7 @@ typedef struct {
void buffer_free(Buffer *buf);
bool buffer_alloc(Buffer *buf, size_t size);
void buffer_truncate(Buffer *buf);
-bool buffer_put(Buffer *buf, void *data, size_t len);
-bool buffer_append(Buffer *buf, void *data, size_t len);
+bool buffer_put(Buffer *buf, const void *data, size_t len);
+bool buffer_append(Buffer *buf, const void *data, size_t len);
#endif