summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/pipe.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-10 00:17:59 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-10 00:17:59 +0000
commit73130cae6071638370bf04d965f1e076c9710548 (patch)
treeda86d547aace26e433603c729e35526210598cc3 /libc/sysdeps/linux/sh/pipe.c
parentccac11404612ae98a274001f619d343006fed3c0 (diff)
Do hidden pipe, please check the change in mips (.end __pipe?)
Diffstat (limited to 'libc/sysdeps/linux/sh/pipe.c')
-rw-r--r--libc/sysdeps/linux/sh/pipe.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/sh/pipe.c b/libc/sysdeps/linux/sh/pipe.c
index b07f42d31..a15034599 100644
--- a/libc/sysdeps/linux/sh/pipe.c
+++ b/libc/sysdeps/linux/sh/pipe.c
@@ -5,7 +5,7 @@
#include <unistd.h>
#include <syscall.h>
-int pipe(int *fd)
+int attribute_hidden __pipe(int *fd)
{
long __res, __res2;
__asm__ __volatile__ (
@@ -27,5 +27,4 @@ int pipe(int *fd)
fd[1] = __res2;
return(0);
}
-
-
+strong_alias(__pipe,pipe)