about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/dirfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/dirfd.c')
-rw-r--r--sysdeps/mach/hurd/dirfd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/dirfd.c b/sysdeps/mach/hurd/dirfd.c
index 0ad290d515..65673336e3 100644
--- a/sysdeps/mach/hurd/dirfd.c
+++ b/sysdeps/mach/hurd/dirfd.c
@@ -22,7 +22,7 @@
 #include <errno.h>
 
 int
-dirfd (DIR *dirp)
+__dirfd (DIR *dirp)
 {
   int fd;
 
@@ -41,3 +41,5 @@ dirfd (DIR *dirp)
 
   return fd;
 }
+
+weak_alias (__dirfd, dirfd)