From cd3626642755359eecf64d05e3f9db3d8b00ed24 Mon Sep 17 00:00:00 2001 From: wrmr Date: Fri, 8 Nov 2024 23:30:42 -0500 Subject: use strv_t even more --- buf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'buf.h') 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 +#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 -- cgit 1.4.1-2-gfad0