aboutsummaryrefslogtreecommitdiffstats
path: root/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test.h')
-rw-r--r--test.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/test.h b/test.h
index 2a1c656..a622cba 100644
--- a/test.h
+++ b/test.h
@@ -9,11 +9,4 @@
exit(1);\
} while (0)
-
-
-#define strcmp(...) test_strcmp(__VA_ARGS__)
-static inline int
-test_strcmp(const char *a, const char *b)
-{
- return (!a || !b) ? !b - !a : (strcmp)(a, b);
-}
+#define strcmp(...) strcmpnul(__VA_ARGS__)