summaryrefslogtreecommitdiff
path: root/libc/string/generic/strrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/generic/strrchr.c')
-rw-r--r--libc/string/generic/strrchr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/string/generic/strrchr.c b/libc/string/generic/strrchr.c
index b67e369fd..97192da95 100644
--- a/libc/string/generic/strrchr.c
+++ b/libc/string/generic/strrchr.c
@@ -43,4 +43,6 @@ char *strrchr (const char *s, int c)
return (char *) found;
}
libc_hidden_def(strrchr)
+#ifdef __UCLIBC_SUSV3_LEGACY__
strong_alias(strrchr,rindex)
+#endif