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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_fcntl.c b/lib/libc_r/uthread/uthread_fcntl.c
index 878554c..6cd2b12 100644
--- a/lib/libc_r/uthread/uthread_fcntl.c
+++ b/lib/libc_r/uthread/uthread_fcntl.c
@@ -39,7 +39,7 @@
#include "pthread_private.h"
int
-fcntl(int fd, int cmd,...)
+_libc_fcntl(int fd, int cmd,...)
{
int flags = 0;
int nonblock;
@@ -142,4 +142,6 @@ fcntl(int fd, int cmd,...)
/* Return the completion status: */
return (ret);
}
+
+__weak_reference(_libc_fcntl, fcntl);
#endif
OpenPOWER on IntegriCloud