summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_fcntl.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_fcntl.c')
-rw-r--r--lib/libc_r/uthread/uthread_fcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_fcntl.c b/lib/libc_r/uthread/uthread_fcntl.c
index 84f4678..1d12c0e 100644
--- a/lib/libc_r/uthread/uthread_fcntl.c
+++ b/lib/libc_r/uthread/uthread_fcntl.c
@@ -37,7 +37,7 @@
#include <pthread.h>
#include "pthread_private.h"
-#pragma weak fcntl=__fcntl
+__weak_reference(__fcntl, fcntl);
int
_fcntl(int fd, int cmd,...)
OpenPOWER on IntegriCloud