aboutsummaryrefslogtreecommitdiff
path: root/src/string/strlcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strlcpy.c')
-rw-r--r--src/string/strlcpy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/strlcpy.c b/src/string/strlcpy.c
index ffa0b0b0..177d2857 100644
--- a/src/string/strlcpy.c
+++ b/src/string/strlcpy.c
@@ -32,3 +32,11 @@ size_t strlcpy(char *d, const char *s, size_t n)
finish:
return d-d0 + strlen(s);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif