about summary refs log tree commit diff
path: root/sysdeps/generic/fxstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/fxstat.c')
-rw-r--r--sysdeps/generic/fxstat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/generic/fxstat.c b/sysdeps/generic/fxstat.c
index 6bff431dee..b750daca63 100644
--- a/sysdeps/generic/fxstat.c
+++ b/sysdeps/generic/fxstat.c
@@ -20,8 +20,6 @@
 #include <stddef.h>
 #include <sys/stat.h>
 
-#undef __fxstat
-
 /* Get information about the file descriptor FD in BUF.  */
 int
 __fxstat (int vers, int fd, struct stat *buf)
@@ -47,7 +45,6 @@ __fxstat (int vers, int fd, struct stat *buf)
   return -1;
 }
 stub_warning (fstat)
-
-INTDEF(__fxstat)
+hidden_def (__fxstat)
 weak_alias (__fxstat, _fxstat)
 #include <stub-tag.h>