about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/close.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/close.c')
-rw-r--r--sysdeps/mach/hurd/close.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/close.c b/sysdeps/mach/hurd/close.c
index 7a64fa4503..6e18c08915 100644
--- a/sysdeps/mach/hurd/close.c
+++ b/sysdeps/mach/hurd/close.c
@@ -21,8 +21,6 @@
 #include <hurd.h>
 #include <hurd/fd.h>
 
-#undef __close
-
 /* Close the file descriptor FD.  */
 int
 __close (int fd)
@@ -33,6 +31,5 @@ __close (int fd)
 
   return err ? __hurd_fail (err) : 0;
 }
-
-INTDEF (__close)
+libc_hidden_def (__close)
 weak_alias (__close, close)