summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_pipe.c')
-rw-r--r--lib/libc_r/uthread/uthread_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_pipe.c b/lib/libc_r/uthread/uthread_pipe.c
index b815e1a..770384c 100644
--- a/lib/libc_r/uthread/uthread_pipe.c
+++ b/lib/libc_r/uthread/uthread_pipe.c
@@ -38,7 +38,7 @@
#include "pthread_private.h"
int
-_libc_pipe(int fds[2])
+_pipe(int fds[2])
{
int ret;
if ((ret = _thread_sys_pipe(fds)) >= 0) {
@@ -52,5 +52,5 @@ _libc_pipe(int fds[2])
return (ret);
}
-__weak_reference(_libc_pipe, pipe);
+__weak_reference(_pipe, pipe);
#endif
OpenPOWER on IntegriCloud