diff options
author | wrmr | 2024-11-08 23:30:42 -0500 |
---|---|---|
committer | wrmr | 2024-11-08 23:30:42 -0500 |
commit | cd3626642755359eecf64d05e3f9db3d8b00ed24 (patch) | |
tree | e7270b2c779c7aeb0c1b88ed2dee67d4c264854a /buf.h | |
parent | 012ed5bd6455ce291741ad540a5e356e4810133b (diff) |
use strv_t even more
Diffstat (limited to 'buf.h')
-rw-r--r-- | buf.h | 3 |
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 |