summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2008-05-27 14:03:32 +0000
committerDoug Rabson <dfr@FreeBSD.org>2008-05-27 14:03:32 +0000
commit2da0808aec5877d2a0ee63cd988ef1ae870c95ed (patch)
tree91577562c1e1c514464393f221a664e546f089fb
parentd90de33855f7c977727fe044d7555cccdd7c1127 (diff)
Notes
-rw-r--r--lib/libc/sys/fcntl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/fcntl.c b/lib/libc/sys/fcntl.c
index 6c367abcb763..eb93a5687ac2 100644
--- a/lib/libc/sys/fcntl.c
+++ b/lib/libc/sys/fcntl.c
@@ -34,8 +34,10 @@ __FBSDID("$FreeBSD$");
#include <sys/syscall.h>
#include "libc_private.h"
+__weak_reference(__fcntl, fcntl);
+
int
-fcntl(int fd, int cmd, ...)
+__fcntl(int fd, int cmd, ...)
{
va_list args;
long arg;