comparison th_string.h @ 486:bf984b494f07

Add function argument name to prototypes.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 19 Sep 2019 06:18:18 +0300
parents e4ce60239d16
children 702c64a6c570
comparison
equal deleted inserted replaced
485:4a3d561d5406 486:bf984b494f07
90 90
91 /* Normal NUL-terminated string functions 91 /* Normal NUL-terminated string functions
92 */ 92 */
93 char *th_strdup(const char *src); 93 char *th_strdup(const char *src);
94 char *th_strndup(const char *src, const size_t n); 94 char *th_strndup(const char *src, const size_t n);
95 char *th_strdup_trim(const char *, const int flags); 95 char *th_strdup_trim(const char *src, const int flags);
96 char *th_strndup_trim(const char *, const size_t n, const int flags); 96 char *th_strndup_trim(const char *src, const size_t n, const int flags);
97 97
98 int th_strcasecmp(const char *haystack, const char *needle); 98 int th_strcasecmp(const char *haystack, const char *needle);
99 int th_strncasecmp(const char *haystack, const char *needle, size_t n); 99 int th_strncasecmp(const char *haystack, const char *needle, size_t n);
100 char *th_strrcasecmp(char *haystack, const char *needle); 100 char *th_strrcasecmp(char *haystack, const char *needle);
101 void th_strip_ctrlchars(char *str); 101 void th_strip_ctrlchars(char *str);