diff options
Diffstat (limited to 'libc/string/generic/strstr.c')
-rw-r--r-- | libc/string/generic/strstr.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/string/generic/strstr.c b/libc/string/generic/strstr.c index 45a64bb9b..b16261e56 100644 --- a/libc/string/generic/strstr.c +++ b/libc/string/generic/strstr.c @@ -32,10 +32,7 @@ typedef unsigned chartype; #undef strstr -char * -strstr (phaystack, pneedle) - const char *phaystack; - const char *pneedle; +char attribute_hidden *__strstr (const char *phaystack, const char *pneedle) { const unsigned char *haystack, *needle; chartype b; @@ -114,3 +111,5 @@ foundneedle: ret0: return 0; } + +strong_alias(__strstr, strstr) |