aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390/strchr-c.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/strchr-c.c')
-rw-r--r--sysdeps/s390/strchr-c.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sysdeps/s390/strchr-c.c b/sysdeps/s390/strchr-c.c
index c00f2cc..90822ae 100644
--- a/sysdeps/s390/strchr-c.c
+++ b/sysdeps/s390/strchr-c.c
@@ -21,13 +21,14 @@
#if HAVE_STRCHR_C
# if HAVE_STRCHR_IFUNC
# define STRCHR STRCHR_C
-# undef weak_alias
+# endif
+
+# include <string/strchr.c>
+
+# if HAVE_STRCHR_IFUNC
# if defined SHARED && IS_IN (libc)
-# undef libc_hidden_builtin_def
-# define libc_hidden_builtin_def(name) \
- __hidden_ver1 (__strchr_c, __GI_strchr, __strchr_c);
+__hidden_ver1 (__strchr_c, __GI_strchr, __strchr_c);
# endif
# endif
-# include <string/strchr.c>
#endif