diff options
Diffstat (limited to 'string')
-rw-r--r-- | string/memrchr.c | 3 | ||||
-rw-r--r-- | string/strchrnul.c | 2 | ||||
-rw-r--r-- | string/strncase.c | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/string/memrchr.c b/string/memrchr.c index 191b89a229..23a74ef1eb 100644 --- a/string/memrchr.c +++ b/string/memrchr.c @@ -191,7 +191,6 @@ MEMRCHR return 0; } #ifndef MEMRCHR -# ifdef weak_alias +libc_hidden_def (__memrchr) weak_alias (__memrchr, memrchr) -# endif #endif diff --git a/string/strchrnul.c b/string/strchrnul.c index 5a17602edd..dab53aaeee 100644 --- a/string/strchrnul.c +++ b/string/strchrnul.c @@ -162,5 +162,5 @@ STRCHRNUL (const char *s, int c_in) /* This should never happen. */ return NULL; } - +libc_hidden_def (__strchrnul) weak_alias (__strchrnul, strchrnul) diff --git a/string/strncase.c b/string/strncase.c index 2558d2969f..9f0ee3c6c7 100644 --- a/string/strncase.c +++ b/string/strncase.c @@ -65,5 +65,6 @@ __strncasecmp (const char *s1, const char *s2, size_t n LOCALE_PARAM) return result; } #ifndef __strncasecmp +libc_hidden_def (__strncasecmp) weak_alias (__strncasecmp, strncasecmp) #endif |