summary refs log tree commit diff
path: root/sysdeps/mach/hurd/fdopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/fdopen.c')
-rw-r--r--sysdeps/mach/hurd/fdopen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/fdopen.c b/sysdeps/mach/hurd/fdopen.c
index 5a3106d4a0..fcdf84e969 100644
--- a/sysdeps/mach/hurd/fdopen.c
+++ b/sysdeps/mach/hurd/fdopen.c
@@ -27,7 +27,7 @@ extern int __getmode __P ((const char *mode, __io_mode *mptr));
 
 /* Open a new stream on a given system file descriptor.  */
 FILE *
-fdopen (fd, mode)
+__fdopen (fd, mode)
      int fd;
      const char *mode;
 {
@@ -68,3 +68,5 @@ fdopen (fd, mode)
 
   return stream;
 }
+
+weak_alias (__fdopen, fdopen)