aboutsummaryrefslogtreecommitdiff
path: root/src/string/strncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strncpy.c')
-rw-r--r--src/string/strncpy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/strncpy.c b/src/string/strncpy.c
index 545892e6..5056eb83 100644
--- a/src/string/strncpy.c
+++ b/src/string/strncpy.c
@@ -5,3 +5,11 @@ char *strncpy(char *restrict d, const char *restrict s, size_t n)
__stpncpy(d, s, n);
return d;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif