about summary refs log tree commit diff
path: root/string/memrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/memrchr.c')
-rw-r--r--string/memrchr.c3
1 files changed, 1 insertions, 2 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