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