diff options
| author | David Bremner <david@tethera.net> | 2018-08-30 08:29:13 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2018-09-06 08:07:13 -0300 |
| commit | b8e6f042c57739cc2b183395a3f9dfd64a6eb3d2 (patch) | |
| tree | f945f27afd5713b6943a7b6e99c04a8babc32569 /util/string-util.c | |
| parent | 35053c2b9af0eb7ce5bd612c642163275490513a (diff) | |
util/string-util: export skip_space
It's only few lines, but we already define the function, so make it
usable elsewhere
Diffstat (limited to 'util/string-util.c')
| -rw-r--r-- | util/string-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/string-util.c b/util/string-util.c index b0108811..fc2058e0 100644 --- a/util/string-util.c +++ b/util/string-util.c @@ -141,7 +141,7 @@ make_boolean_term (void *ctx, const char *prefix, const char *term, return 0; } -static const char* +const char* skip_space (const char *str) { while (*str && isspace ((unsigned char) *str)) |
