summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2021-11-21 11:53:14 +1000
committerPing Cheng <pinglinux@gmail.com>2021-11-23 16:24:43 -0800
commit0b985dfaf49373f12db7abadbaefdd32951fc47c (patch)
treeb6bd1d03500a1561921e5b409d3b2bdb6e9fedbc /test
parent18b38bf3af8246df17220cb6185a0d1aa549bb0e (diff)
downloadxf86-input-wacom-0b985dfaf49373f12db7abadbaefdd32951fc47c.tar.gz
Use strcasecmp instead of xf86NameCmp
The latter skips over '_ \t' but none of the options we parse will have any of those characters in it. Let's use strcasecmp() directly. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test')
-rw-r--r--test/fake-symbols.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/fake-symbols.c b/test/fake-symbols.c
index a323859..3379cd7 100644
--- a/test/fake-symbols.c
+++ b/test/fake-symbols.c
@@ -72,12 +72,6 @@ xf86OptionValue(OPTTYPE opt)
return NULL;
}
-_X_EXPORT int
-xf86NameCmp(const char *s1, const char *s2)
-{
- return strcasecmp(s1, s2);
-}
-
_X_EXPORT char *
xf86CheckStrOption(OPTTYPE optlist, const char *name, CONST char *deflt)
{