aboutsummaryrefslogtreecommitdiff
path: root/src/string/wcscspn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/wcscspn.c')
-rw-r--r--src/string/wcscspn.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/wcscspn.c b/src/string/wcscspn.c
index c4e52722..5621f9f3 100644
--- a/src/string/wcscspn.c
+++ b/src/string/wcscspn.c
@@ -8,3 +8,11 @@ size_t wcscspn(const wchar_t *s, const wchar_t *c)
for (a=s; *s && !wcschr(c, *s); s++);
return s-a;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif