aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2015-01-16 09:18:58 +0100
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2015-01-16 09:18:58 +0100
commit026eb207eda8cc93f6f7f0980f0a8e51587d8011 (patch)
tree8866d58b96d07a59286347e262e3104b53bf1e94 /sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
parent1d53248326dbd3c620a2bca16d35eff3019d900a (diff)
downloadglibc-026eb207eda8cc93f6f7f0980f0a8e51587d8011.tar
glibc-026eb207eda8cc93f6f7f0980f0a8e51587d8011.tar.gz
glibc-026eb207eda8cc93f6f7f0980f0a8e51587d8011.tar.bz2
glibc-026eb207eda8cc93f6f7f0980f0a8e51587d8011.zip
S390: Get rid of linknamespace failures for utmp functions.
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390/s390-32/getutent.c')
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-32/getutent.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/getutent.c b/sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
index 9488978895..aa94421028 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
@@ -21,8 +21,12 @@
#include "utmp-compat.h"
-#undef weak_alias
-#define weak_alias(n,a)
+#if defined SHARED
+# undef weak_alias
+# define weak_alias(n,a)
+#endif
#include "login/getutent.c"
+#if defined SHARED
default_symbol_version (__getutent, getutent, UTMP_COMPAT_BASE);
+#endif