summaryrefslogtreecommitdiff
path: root/libc/string/generic/strstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/generic/strstr.c')
-rw-r--r--libc/string/generic/strstr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/string/generic/strstr.c b/libc/string/generic/strstr.c
index b16261e56..12e384014 100644
--- a/libc/string/generic/strstr.c
+++ b/libc/string/generic/strstr.c
@@ -30,8 +30,6 @@
typedef unsigned chartype;
-#undef strstr
-
char attribute_hidden *__strstr (const char *phaystack, const char *pneedle)
{
const unsigned char *haystack, *needle;
@@ -112,4 +110,4 @@ ret0:
return 0;
}
-strong_alias(__strstr, strstr)
+strong_alias(__strstr,strstr)