From 9ac1ca968081bcb826cf9ee70666bc44983d087f Mon Sep 17 00:00:00 2001 From: wrmr Date: Fri, 8 Nov 2024 23:57:30 -0500 Subject: simplify strv_head interface, rename to strv_split --- strv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'strv.h') 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 -- cgit 1.4.1-2-gfad0