summary refs log tree commit diff
path: root/buf.h
diff options
context:
space:
mode:
Diffstat (limited to 'buf.h')
-rw-r--r--buf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/buf.h b/buf.h
index 59c521b..e7fb6b7 100644
--- a/buf.h
+++ b/buf.h
@@ -2,6 +2,7 @@
 #define BUF_H
 
 #include <stddef.h>
+#include "strv.h"
 
 typedef struct buf {
 	size_t sz, cap;
@@ -12,7 +13,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, const char *src, size_t n);
+void buf_cat(buf_t *b, strv_t s);
 void buf_catc(buf_t *b, char c);
 
 #endif