diff options
Diffstat (limited to 'include/strutils.h')
-rw-r--r-- | include/strutils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/strutils.h b/include/strutils.h index 9f4339f41..f303450f5 100644 --- a/include/strutils.h +++ b/include/strutils.h @@ -212,6 +212,8 @@ static inline size_t ltrim_whitespace(unsigned char *str) extern char *strnappend(const char *s, const char *suffix, size_t b); extern char *strappend(const char *s, const char *suffix); +extern char *strfappend(const char *s, const char *format, ...) + __attribute__ ((__format__ (__printf__, 2, 0))); extern const char *split(const char **state, size_t *l, const char *separator, int quoted); extern int skip_fline(FILE *fp); |