From a2c4ad46751e4dcb85a739437d9331bf9282d9be Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sun, 9 Jun 2019 09:54:02 -0700 Subject: move wordsplit into common for sharing Signed-off-by: Andrew Gregory --- src/common/util-common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/util-common.h') diff --git a/src/common/util-common.h b/src/common/util-common.h index 3434e1eb..7ec588cc 100644 --- a/src/common/util-common.h +++ b/src/common/util-common.h @@ -30,6 +30,9 @@ int llstat(char *path, struct stat *buf); char *safe_fgets(char *s, int size, FILE *stream); +void wordsplit_free(char **ws); +char **wordsplit(const char *str); + size_t strtrim(char *str); #ifndef HAVE_STRNDUP -- cgit v1.2.3-24-g4f1b