summary refs log tree commit diff
path: root/buf.h
diff options
context:
space:
mode:
authorwrmr2024-11-08 23:30:42 -0500
committerwrmr2024-11-08 23:30:42 -0500
commitcd3626642755359eecf64d05e3f9db3d8b00ed24 (patch)
treee7270b2c779c7aeb0c1b88ed2dee67d4c264854a /buf.h
parent012ed5bd6455ce291741ad540a5e356e4810133b (diff)
use strv_t even more
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