summaryrefslogtreecommitdiff
path: root/na/lib/string/rindex.c
diff options
context:
space:
mode:
Diffstat (limited to 'na/lib/string/rindex.c')
-rw-r--r--na/lib/string/rindex.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/na/lib/string/rindex.c b/na/lib/string/rindex.c
deleted file mode 100644
index 897e19e..0000000
--- a/na/lib/string/rindex.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* SPDX-License-Identifier: MIT */
-/* Derived from musl libc (Copyright © 2005-2020 Rich Felker, et al.) */
-
-#define _BSD_SOURCE
-#include <string.h>
-#include <strings.h>
-
-char *rindex(const char *s, int c)
-{
- return strrchr(s, c);
-}