aboutsummaryrefslogtreecommitdiff
path: root/src/string/wcsdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/wcsdup.c')
-rw-r--r--src/string/wcsdup.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/wcsdup.c b/src/string/wcsdup.c
index f398e809..e1d2b197 100644
--- a/src/string/wcsdup.c
+++ b/src/string/wcsdup.c
@@ -8,3 +8,11 @@ wchar_t *wcsdup(const wchar_t *s)
if (!d) return NULL;
return wmemcpy(d, s, l+1);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif