about summary refs log tree commit diff
path: root/sysdeps/generic/fdopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/fdopen.c')
-rw-r--r--sysdeps/generic/fdopen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/fdopen.c b/sysdeps/generic/fdopen.c
index c7d7f556fa..4650c5c1ae 100644
--- a/sysdeps/generic/fdopen.c
+++ b/sysdeps/generic/fdopen.c
@@ -21,13 +21,14 @@
 
 /* Open a new stream on a given system file descriptor.  */
 FILE *
-fdopen (fd, mode)
+__fdopen (fd, mode)
      int fd;
      const char *mode;
 {
   __set_errno (ENOSYS);
   return NULL;
 }
+weak_alias (__fdopen, fdopen)
 
 stub_warning (fdopen)
 #include <stub-tag.h>