about summary refs log tree commit diff
path: root/dirent/dirfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirent/dirfd.c')
-rw-r--r--dirent/dirfd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dirent/dirfd.c b/dirent/dirfd.c
index 7af77adf01..c1069ffb80 100644
--- a/dirent/dirfd.c
+++ b/dirent/dirfd.c
@@ -21,10 +21,11 @@
 #include <errno.h>
 
 int
-dirfd (DIR *dirp)
+__dirfd (DIR *dirp)
 {
   __set_errno (ENOSYS);
   return -1;
 }
 
+weak_alias (__dirfd, dirfd)
 stub_warning (dirfd)