summaryrefslogtreecommitdiff
path: root/libc/string/i386/strrchr.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-14 22:53:42 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-14 22:53:42 +0000
commit032a3e76d290c776e26ae6c0a68e8b19885a68aa (patch)
tree79917e0166b4dfe0f9ba7e1c9dc0f67643ace63a /libc/string/i386/strrchr.c
parent1a9ad98b8a05ec074dc0f48427d7853d1938540d (diff)
Corrections to splitted files
Diffstat (limited to 'libc/string/i386/strrchr.c')
-rw-r--r--libc/string/i386/strrchr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/i386/strrchr.c b/libc/string/i386/strrchr.c
index 626a12777..8468ee511 100644
--- a/libc/string/i386/strrchr.c
+++ b/libc/string/i386/strrchr.c
@@ -30,9 +30,9 @@
* -Erik
*/
-#define _GNU_SOURCE
#include <string.h>
+#undef strrchr
char attribute_hidden *__strrchr(const char *s, int c)
{
int d0, d1;
@@ -51,4 +51,4 @@ char attribute_hidden *__strrchr(const char *s, int c)
strong_alias(__strrchr, strrchr)
-weak_alias(__strrchr, rindex)
+weak_alias(strrchr, rindex)