projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88ddb2e
)
util: use standard name for strcasecmp()
author
Eric Engestrom
<eric.engestrom@intel.com>
Tue, 20 Nov 2018 11:39:28 +0000
(11:39 +0000)
committer
Eric Engestrom
<eric.engestrom@intel.com>
Fri, 19 Jul 2019 21:39:38 +0000
(22:39 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/util/u_string.h
patch
|
blob
|
history
diff --git
a/src/util/u_string.h
b/src/util/u_string.h
index 8c8ad5a536506fff2e1bad23f48637657e1932f0..2b7b7a502b8dfcb422b8741b28c04c6fefcb8625 100644
(file)
--- 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