aboutsummaryrefslogtreecommitdiff
path: root/src/string/wcsnlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/wcsnlen.c')
-rw-r--r--src/string/wcsnlen.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/wcsnlen.c b/src/string/wcsnlen.c
index a7763373..0ed2d4a2 100644
--- a/src/string/wcsnlen.c
+++ b/src/string/wcsnlen.c
@@ -6,3 +6,11 @@ size_t wcsnlen(const wchar_t *s, size_t n)
if (z) n = z-s;
return n;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif