util/string-util: export skip_space

It's only few lines, but we already define the function, so make it
usable elsewhere
This commit is contained in:
David Bremner 2018-08-30 08:29:13 -03:00
parent 35053c2b9a
commit b8e6f042c5
2 changed files with 3 additions and 1 deletions

View file

@ -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))

View file

@ -77,6 +77,8 @@ unsigned int strcase_hash (const void *ptr);
void strip_trailing (char *str, char ch);
const char* skip_space (const char *str);
#ifdef __cplusplus
}
#endif