aboutsummaryrefslogtreecommitdiff
path: root/src/string/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/index.c')
-rw-r--r--src/string/index.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/index.c b/src/string/index.c
index 252948f9..2060e37b 100644
--- a/src/string/index.c
+++ b/src/string/index.c
@@ -6,3 +6,11 @@ char *index(const char *s, int c)
{
return strchr(s, c);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif