summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/mips/pipe.c')
-rw-r--r--libc/sysdeps/linux/mips/pipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/mips/pipe.c b/libc/sysdeps/linux/mips/pipe.c
index 65e335964..fbc73b489 100644
--- a/libc/sysdeps/linux/mips/pipe.c
+++ b/libc/sysdeps/linux/mips/pipe.c
@@ -6,7 +6,7 @@
#include <unistd.h>
#include <syscall.h>
-int pipe(int *fd)
+int attribute_hidden __pipe(int *fd)
{
register long int res __asm__ ("$2"); // v0
register long int res2 __asm__ ("$3"); // v1
@@ -21,3 +21,4 @@ int pipe(int *fd)
fd[1] = res2;
return(0);
}
+strong_alias(__pipe,pipe)