From edbe6c2bdc6a3011e5aea208c44be5eee02f120b Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Mon, 14 Sep 2015 18:37:38 -0400 Subject: move strtrim to util-common Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- src/common/util-common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/util-common.h') diff --git a/src/common/util-common.h b/src/common/util-common.h index a2093bef..af2ebdaa 100644 --- a/src/common/util-common.h +++ b/src/common/util-common.h @@ -30,6 +30,8 @@ int llstat(char *path, struct stat *buf); char *safe_fgets(char *s, int size, FILE *stream); +size_t strtrim(char *str); + #ifndef HAVE_STRNDUP char *strndup(const char *s, size_t n); #endif -- cgit v1.2.3-24-g4f1b