From f8703c6453b64fd74354a0851f6fb05795c31956 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 14 Nov 2005 22:57:45 +0000 Subject: Move to use attribute_hidden --- libc/string/generic/strchrnul.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libc/string/generic/strchrnul.c') diff --git a/libc/string/generic/strchrnul.c b/libc/string/generic/strchrnul.c index 908409a4c..faa0f4ff9 100644 --- a/libc/string/generic/strchrnul.c +++ b/libc/string/generic/strchrnul.c @@ -26,11 +26,10 @@ #include "memcopy.h" -#undef __strchrnul #undef strchrnul /* Find the first occurrence of C in S or the final NUL byte. */ -char *__strchrnul (const char *s, int c_in) +char attribute_hidden *__strchrnul (const char *s, int c_in) { const unsigned char *char_ptr; const unsigned long int *longword_ptr; @@ -165,4 +164,4 @@ char *__strchrnul (const char *s, int c_in) return NULL; } -weak_alias (__strchrnul, strchrnul) +strong_alias(__strchrnul, strchrnul) -- cgit v1.2.3