diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/util.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/util.h b/include/util.h index 1ffe148..4d0cb51 100644 --- a/include/util.h +++ b/include/util.h @@ -13,13 +13,11 @@ (cur) = (next); \ } -typedef enum { - VPOPEN_STDERR, - VPOPEN_STDOUT -} vpopen_t; +typedef enum { VPOPEN_STDERR, VPOPEN_STDOUT } vpopen_t; int vpopen(FILE **stream, const char *file, char *const argv[], vpopen_t type); int json_streaming_read(FILE *stream, cJSON **json); int atob(const char *s); int run(const char *file, char *argv[]); +char *trim(char *s); |