diff options
Diffstat (limited to 'src/util/u_string.h')
-rw-r--r-- | src/util/u_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_string.h b/src/util/u_string.h index 8d178031d8c..8c8ad5a5365 100644 --- a/src/util/u_string.h +++ b/src/util/u_string.h @@ -156,6 +156,7 @@ util_strcmp(const char *s1, const char *s2) return 0; } +#define strncmp util_strncmp static inline int util_strncmp(const char *s1, const char *s2, size_t n) { @@ -184,7 +185,6 @@ util_strncmp(const char *s1, const char *s2, size_t n) #define util_vasprintf vasprintf #define util_sprintf sprintf #define util_strcmp strcmp -#define util_strncmp strncmp #define util_strcasecmp strcasecmp #endif |