aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/s390
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390')
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c6
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c6
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/xstat.c5
3 files changed, 7 insertions, 10 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c b/sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c
index 36d38751ad..95ed437943 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c
@@ -30,8 +30,6 @@
extern int __syscall_fstat (int, struct stat *);
-#undef __fxstat
-
/* Get information about the file FD in BUF. */
int
__fxstat (int vers, int fd, struct stat *buf)
@@ -39,8 +37,8 @@ __fxstat (int vers, int fd, struct stat *buf)
return INLINE_SYSCALL (fstat, 2, fd, buf);
}
-INTDEF(__fxstat)
+hidden_def (__fxstat)
weak_alias (__fxstat, _fxstat);
#undef __fxstat64
strong_alias (__fxstat, __fxstat64);
-INTDEF(__fxstat64)
+hidden_ver (__fxstat, __fxstat64)
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c b/sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c
index 5a86fc177a..3bcc4bede0 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c
@@ -28,8 +28,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-#undef __lxstat
-
extern int __syscall_lstat (const char *, struct stat *);
/* Get information about the file FD in BUF. */
@@ -39,8 +37,8 @@ __lxstat (int vers, const char *name, struct stat *buf)
return INLINE_SYSCALL (lstat, 2, name, buf);
}
-INTDEF(__lxstat)
+hidden_def (__lxstat)
weak_alias (__lxstat, _lxstat);
#undef __lxstat64
-INTDEF(__lxstat64)
strong_alias (__lxstat, __lxstat64);
+hidden_ver (__lxstat, __lxstat64)
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/xstat.c b/sysdeps/unix/sysv/linux/s390/s390-64/xstat.c
index d2e3e108ac..9283dd8b51 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/xstat.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/xstat.c
@@ -1,5 +1,5 @@
/* xstat using old-style Unix stat system call. 64 bit S/390 version.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -36,7 +36,8 @@ __xstat (int vers, const char *name, struct stat *buf)
{
return INLINE_SYSCALL (stat, 2, name, buf);
}
-
+hidden_def (__xstat)
weak_alias (__xstat, _xstat);
#undef __xstat64
strong_alias (__xstat, __xstat64);
+hidden_ver (__xstat, __xstat64)