summary refs log tree commit diff
path: root/buf.h
diff options
context:
space:
mode:
authorwrmr2024-11-05 23:04:49 -0500
committerwrmr2024-11-05 23:04:49 -0500
commit9c932e49a7516570b6c1ff9863595d495e3a3212 (patch)
treecfd5205bd322da368699c47de59c16737ea7da24 /buf.h
parent9ee9d3c7dec6090316d21c2eed40992372ac3efa (diff)
doc_add_link
Diffstat (limited to 'buf.h')
-rw-r--r--buf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/buf.h b/buf.h
index c275f9c..59c521b 100644
--- a/buf.h
+++ b/buf.h
@@ -12,7 +12,7 @@ void buf_init(buf_t *, size_t);
 void buf_grow(buf_t *, size_t);
 void buf_free(buf_t *);
 
-void buf_cat(buf_t *b, char *src, size_t n);
+void buf_cat(buf_t *b, const char *src, size_t n);
 void buf_catc(buf_t *b, char c);
 
 #endif