about summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/pipe2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/io/pipe2.c b/io/pipe2.c
index a0b8a8b1f8..aa54d17ae6 100644
--- a/io/pipe2.c
+++ b/io/pipe2.c
@@ -25,7 +25,7 @@
    PIPEDES[1] can be read from PIPEDES[0].  Apply FLAGS to the new
    file descriptors.  Returns 0 if successful, -1 if not.  */
 int
-pipe2 (pipedes, flags)
+__pipe2 (pipedes, flags)
      int pipedes[2];
      int flags;
 {
@@ -38,6 +38,7 @@ pipe2 (pipedes, flags)
   __set_errno (ENOSYS);
   return -1;
 }
+weak_alias (__pipe2, pipe2)
 stub_warning (pipe2)
 
 #include <stub-tag.h>