summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 01:51:28 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 01:51:28 +0000
commit9de20439642fe8a7d46abfba5aa27264d47b5a31 (patch)
treefbbb50c35ab62a44ca77d159d950a966e53edae3
parent4dcc5dd8a7cdb20a5f5ca7fb20beb30297b93de5 (diff)
Add hidden versions of pipe()
-rw-r--r--libc/sysdeps/linux/mips/pipe.S2
-rw-r--r--libc/sysdeps/linux/mips/pipe.c2
-rw-r--r--libc/sysdeps/linux/sh/pipe.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/pipe.S b/libc/sysdeps/linux/mips/pipe.S
index b5664f791..093b4dddc 100644
--- a/libc/sysdeps/linux/mips/pipe.S
+++ b/libc/sysdeps/linux/mips/pipe.S
@@ -29,3 +29,5 @@ pipe:
j ra
.end pipe
.size pipe,.-pipe
+
+libc_hidden_def(pipe)
diff --git a/libc/sysdeps/linux/mips/pipe.c b/libc/sysdeps/linux/mips/pipe.c
index 65e335964..a4a7e9da1 100644
--- a/libc/sysdeps/linux/mips/pipe.c
+++ b/libc/sysdeps/linux/mips/pipe.c
@@ -21,3 +21,5 @@ int pipe(int *fd)
fd[1] = res2;
return(0);
}
+libc_hidden_proto(pipe)
+libc_hidden_def(pipe)
diff --git a/libc/sysdeps/linux/sh/pipe.c b/libc/sysdeps/linux/sh/pipe.c
index bfa54b7c9..c8540c897 100644
--- a/libc/sysdeps/linux/sh/pipe.c
+++ b/libc/sysdeps/linux/sh/pipe.c
@@ -27,3 +27,5 @@ int pipe(int *fd)
fd[1] = __res2;
return(0);
}
+libc_hidden_proto(pipe)
+libc_hidden_def(pipe)