aboutsummaryrefslogtreecommitdiff
path: root/src/string/strcspn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strcspn.c')
-rw-r--r--src/string/strcspn.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/strcspn.c b/src/string/strcspn.c
index a0c617bd..6eb4bf87 100644
--- a/src/string/strcspn.c
+++ b/src/string/strcspn.c
@@ -15,3 +15,11 @@ size_t strcspn(const char *s, const char *c)
for (; *s && !BITOP(byteset, *(unsigned char *)s, &); s++);
return s-a;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif