mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-23 19:38:07 +01:00
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:
parent
35053c2b9a
commit
b8e6f042c5
2 changed files with 3 additions and 1 deletions
|
@ -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))
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue