aboutsummaryrefslogtreecommitdiff
path: root/src/string/strtok_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strtok_r.c')
-rw-r--r--src/string/strtok_r.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/strtok_r.c b/src/string/strtok_r.c
index 862d4fe4..80193135 100644
--- a/src/string/strtok_r.c
+++ b/src/string/strtok_r.c
@@ -10,3 +10,11 @@ char *strtok_r(char *restrict s, const char *restrict sep, char **restrict p)
else *p = 0;
return s;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif