aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix/fdopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/fdopen.c')
-rw-r--r--sysdeps/posix/fdopen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/posix/fdopen.c b/sysdeps/posix/fdopen.c
index 4e7d3051eb..39d8463b70 100644
--- a/sysdeps/posix/fdopen.c
+++ b/sysdeps/posix/fdopen.c
@@ -25,7 +25,7 @@ extern int __getmode (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;
{
@@ -71,3 +71,5 @@ fdopen (fd, mode)
return stream;
}
+
+weak_alias (__fdopen, fdopen)