summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_dup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_dup2.c')
-rw-r--r--lib/libc_r/uthread/uthread_dup2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_dup2.c b/lib/libc_r/uthread/uthread_dup2.c
index 4057a6f..6e8195b 100644
--- a/lib/libc_r/uthread/uthread_dup2.c
+++ b/lib/libc_r/uthread/uthread_dup2.c
@@ -36,7 +36,7 @@
#include <pthread.h>
#include "pthread_private.h"
-#pragma weak dup2=_dup2
+__weak_reference(_dup2, dup2);
int
_dup2(int fd, int newfd)
OpenPOWER on IntegriCloud