summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-11-20 11:39:28 +0000
committerEric Engestrom <[email protected]>2019-07-19 22:39:38 +0100
commit7abc7396968edd123e3a84fe6cda5ba446ffd24e (patch)
treee05985e38cbaa65976110fefed00ab0c5df4da36 /src
parent88ddb2e18646344df215becb86e70453c55ab2cd (diff)
util: use standard name for strcasecmp()
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/util/u_string.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/u_string.h b/src/util/u_string.h
index 8c8ad5a5365..2b7b7a502b8 100644
--- a/src/util/u_string.h
+++ b/src/util/u_string.h
@@ -175,7 +175,7 @@ util_strncmp(const char *s1, const char *s2, size_t n)
-#define util_strcasecmp stricmp
+#define strcasecmp stricmp
#define strdup _strdup
#else
@@ -185,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_strcasecmp strcasecmp
#endif