about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/fxstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/fxstat.c')
-rw-r--r--sysdeps/mach/hurd/fxstat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/fxstat.c b/sysdeps/mach/hurd/fxstat.c
index 28cfbbb375..8a2520c5d4 100644
--- a/sysdeps/mach/hurd/fxstat.c
+++ b/sysdeps/mach/hurd/fxstat.c
@@ -22,8 +22,6 @@
 
 #include "xstatconv.c"
 
-#undef __fxstat
-
 /* Get information about the file descriptor FD in BUF.  */
 int
 __fxstat (int vers, int fd, struct stat *buf)
@@ -31,6 +29,5 @@ __fxstat (int vers, int fd, struct stat *buf)
   struct stat64 buf64;
   return __fxstat64 (vers, fd, &buf64) ?: xstat64_conv (buf, &buf64);
 }
-
-INTDEF(__fxstat)
+hidden_def (__fxstat)
 weak_alias (__fxstat, _fxstat)