summaryrefslogtreecommitdiff
path: root/libc/string/i386/strrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/i386/strrchr.c')
-rw-r--r--libc/string/i386/strrchr.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libc/string/i386/strrchr.c b/libc/string/i386/strrchr.c
index 9f0f65a36..094f4418e 100644
--- a/libc/string/i386/strrchr.c
+++ b/libc/string/i386/strrchr.c
@@ -32,7 +32,7 @@
#include <string.h>
-char attribute_hidden *__strrchr(const char *s, int c)
+char *strrchr(const char *s, int c)
{
int d0, d1;
register char * __res;
@@ -47,7 +47,6 @@ char attribute_hidden *__strrchr(const char *s, int c)
:"=g" (__res), "=&S" (d0), "=&a" (d1) :"0" (0),"1" (s),"2" (c));
return __res;
}
-
-strong_alias(__strrchr,strrchr)
-
-strong_alias(__strrchr,rindex)
+libc_hidden_proto(strrchr)
+libc_hidden_def(strrchr)
+strong_alias(strrchr,rindex)