about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/readdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/readdir.c')
-rw-r--r--sysdeps/mach/hurd/readdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/readdir.c b/sysdeps/mach/hurd/readdir.c
index 715f9278a2..2ff43e30ca 100644
--- a/sysdeps/mach/hurd/readdir.c
+++ b/sysdeps/mach/hurd/readdir.c
@@ -16,7 +16,6 @@ License along with the GNU C Library; see the file COPYING.LIB.  If
 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
 Cambridge, MA 02139, USA.  */
 
-#include <ansidecl.h>
 #include <errno.h>
 #include <limits.h>
 #include <stddef.h>
@@ -31,7 +30,7 @@ Cambridge, MA 02139, USA.  */
 
 /* Read a directory entry from DIRP.  */
 struct dirent *
-DEFUN(readdir, (dirp), DIR *dirp)
+__readdir (DIR *dirp)
 {
   struct dirent *dp;
 
@@ -104,3 +103,4 @@ DEFUN(readdir, (dirp), DIR *dirp)
 
   return dp;
 }
+weak_alias (__readdir, readdir)