diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-09-15 00:37:38 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-09-20 09:36:27 +0200 |
commit | edbe6c2bdc6a3011e5aea208c44be5eee02f120b (patch) | |
tree | bee3474adf643e425f5482813b50fec8db19fc28 /src/common/util-common.h | |
parent | 75fe6ef104b1071bf763354177f3c4339c1c7854 (diff) | |
download | pacman-edbe6c2bdc6a3011e5aea208c44be5eee02f120b.tar.gz pacman-edbe6c2bdc6a3011e5aea208c44be5eee02f120b.tar.xz |
move strtrim to util-common
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/common/util-common.h')
-rw-r--r-- | src/common/util-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util-common.h b/src/common/util-common.h index a2093bef..af2ebdaa 100644 --- a/src/common/util-common.h +++ b/src/common/util-common.h @@ -30,6 +30,8 @@ int llstat(char *path, struct stat *buf); char *safe_fgets(char *s, int size, FILE *stream); +size_t strtrim(char *str); + #ifndef HAVE_STRNDUP char *strndup(const char *s, size_t n); #endif |