diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2014-04-12 19:59:21 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2014-04-12 19:59:21 +0300 |
commit | 311e4b36768a0d4e113ccf6d2256ca95c6621508 (patch) | |
tree | 04be6cb3158375ca9932481f279167eff145435d /lib/internal.h | |
parent | cd73a1ba610db7cfa928b37039a1bbdaee88972a (diff) | |
download | bemenu-311e4b36768a0d4e113ccf6d2256ca95c6621508.tar.gz bemenu-311e4b36768a0d4e113ccf6d2256ca95c6621508.tar.bz2 bemenu-311e4b36768a0d4e113ccf6d2256ca95c6621508.zip |
Use strcspn instead of strtok
Diffstat (limited to 'lib/internal.h')
-rw-r--r-- | lib/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/internal.h b/lib/internal.h index b3ca87c..1ed13b4 100644 --- a/lib/internal.h +++ b/lib/internal.h @@ -163,6 +163,7 @@ int _bmItemListRemoveItem(struct _bmItemList *list, const bmItem *item); /* util.c */ char* _bmStrdup(const char *s); +size_t _bmStripToken(char *string, const char *token); int _bmStrupcmp(const char *hay, const char *needle); int _bmStrnupcmp(const char *hay, const char *needle, size_t len); char* _bmStrupstr(const char *hay, const char *needle); |