summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_fcntl.c
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2000-01-12 09:28:58 +0000
committerJason Evans <jasone@FreeBSD.org>2000-01-12 09:28:58 +0000
commitf560c4e709d6f3b1edb5349d928670577918afb8 (patch)
treed979bd2ea9814f01e82a7f04298d08346e265a2d /lib/libpthread/thread/thr_fcntl.c
parent929273386f6e688c008b15fd24932df2ed7e7172 (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_fcntl.c')
-rw-r--r--lib/libpthread/thread/thr_fcntl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_fcntl.c b/lib/libpthread/thread/thr_fcntl.c
index 878554cdbc1d..6cd2b12dd5cd 100644
--- a/lib/libpthread/thread/thr_fcntl.c
+++ b/lib/libpthread/thread/thr_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