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