about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/lxstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/lxstat.c')
-rw-r--r--sysdeps/unix/sysv/linux/lxstat.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/lxstat.c b/sysdeps/unix/sysv/linux/lxstat.c
index af9176f4d5..9de85f5699 100644
--- a/sysdeps/unix/sysv/linux/lxstat.c
+++ b/sysdeps/unix/sysv/linux/lxstat.c
@@ -20,7 +20,6 @@
 /* Ho hum, if xstat == xstat64 we must get rid of the prototype or gcc
    will complain since they don't strictly match.  */
 #define __lxstat64 __lxstat64_disable
-#define __lxstat64_internal __lxstat64_internal_disable
 
 #include <errno.h>
 #include <stddef.h>
@@ -33,8 +32,6 @@
 
 #include <xstatconv.c>
 
-#undef __lxstat
-
 extern int __syscall_lstat (const char *__unbounded,
 			    struct kernel_stat *__unbounded);
 
@@ -56,11 +53,10 @@ __lxstat (int vers, const char *name, struct stat *buf)
   return result;
 }
 
-INTDEF(__lxstat)
+hidden_def (__lxstat)
 weak_alias (__lxstat, _lxstat);
 #ifdef XSTAT_IS_XSTAT64
 #undef __lxstat64
-#undef __lxstat64_internal
 strong_alias (__lxstat, __lxstat64);
-INTDEF(__lxstat64)
+hidden_ver (__lxstat, __lxstat64)
 #endif