projects
/
platform
/
upstream
/
libxkbcommon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
utils: add/replace string equality macros
[platform/upstream/libxkbcommon.git]
/
test
/
rules-file.c
diff --git
a/test/rules-file.c
b/test/rules-file.c
index
c52ff23
..
e6c6010
100644
(file)
--- a/
test/rules-file.c
+++ b/
test/rules-file.c
@@
-50,14
+50,6
@@
struct test_data {
bool should_fail;
};
-static inline bool
-streq(const char *s1, const char *s2)
-{
- if (s1 == NULL || s2 == NULL)
- return s1 == s2;
- return strcmp(s1, s2) == 0;
-}
-
static bool
test_rules(struct xkb_context *ctx, struct test_data *data)
{