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