aboutsummaryrefslogtreecommitdiff
path: root/src/string/strchrnul.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strchrnul.c')
-rw-r--r--src/string/strchrnul.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/strchrnul.c b/src/string/strchrnul.c
index 39e2635b..8cc84e63 100644
--- a/src/string/strchrnul.c
+++ b/src/string/strchrnul.c
@@ -26,3 +26,11 @@ char *__strchrnul(const char *s, int c)
}
weak_alias(__strchrnul, strchrnul);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif