diff options
author | Eric Engestrom <[email protected]> | 2018-11-20 11:42:14 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-07-19 22:39:38 +0100 |
commit | 3ba199abd122e52734effc64426f57578d9e38a2 (patch) | |
tree | 06f6a5ad40096382d193bb198a03fddff1e107b9 /src/util | |
parent | 09a8a39940ad02951b62454a5d222af669fef694 (diff) |
util: use standard name for strdup()
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/u_string.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/u_string.h b/src/util/u_string.h index b43c42650e1..cc97f58e02e 100644 --- a/src/util/u_string.h +++ b/src/util/u_string.h @@ -174,7 +174,7 @@ util_strncmp(const char *s1, const char *s2, size_t n) #define util_strcasecmp stricmp -#define util_strdup _strdup +#define strdup _strdup #else @@ -186,7 +186,6 @@ util_strncmp(const char *s1, const char *s2, size_t n) #define util_strncmp strncmp #define util_strncat strncat #define util_strcasecmp strcasecmp -#define util_strdup strdup #endif |