summary refs log tree commit diff
path: root/strv.h
diff options
context:
space:
mode:
authorwrmr2024-11-08 23:57:30 -0500
committerwrmr2024-11-08 23:57:30 -0500
commit9ac1ca968081bcb826cf9ee70666bc44983d087f (patch)
tree1d130f91c53c41f5a6f18d357fb4fa96c3088883 /strv.h
parentcd3626642755359eecf64d05e3f9db3d8b00ed24 (diff)
simplify strv_head interface, rename to strv_split
Diffstat (limited to 'strv.h')
-rw-r--r--strv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/strv.h b/strv.h
index 03bbb8e..1718711 100644
--- a/strv.h
+++ b/strv.h
@@ -9,6 +9,6 @@ typedef struct {
 } strv_t;
 
 strv_t strv(const char *s);
-strv_t strv_head(strv_t ss, int chr, size_t *i);
+int strv_split(strv_t *src, int chr, strv_t *dest);
 
 #endif