diff options
author | dfr <dfr@FreeBSD.org> | 2008-05-30 14:47:42 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2008-05-30 14:47:42 +0000 |
commit | a6bd1d19554599fdc631dd9d8b1821656c5c440a (patch) | |
tree | 66233dd5fa491396f1de4954fa46d990ed6f6fd1 /lib/libc/sys/fcntl.c | |
parent | 9a2047ba483ae2319d063ec4bd72a70e706bd7c1 (diff) | |
download | FreeBSD-src-a6bd1d19554599fdc631dd9d8b1821656c5c440a.zip FreeBSD-src-a6bd1d19554599fdc631dd9d8b1821656c5c440a.tar.gz |
Call the fcntl compatiblity wrapper from the thread library fcntl wrappers
so that they get the benefit of the (limited) forward ABI compatibility.
MFC after: 1 week
Diffstat (limited to 'lib/libc/sys/fcntl.c')
-rw-r--r-- | lib/libc/sys/fcntl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/fcntl.c b/lib/libc/sys/fcntl.c index eb93a56..470f8ab 100644 --- a/lib/libc/sys/fcntl.c +++ b/lib/libc/sys/fcntl.c @@ -34,10 +34,10 @@ __FBSDID("$FreeBSD$"); #include <sys/syscall.h> #include "libc_private.h" -__weak_reference(__fcntl, fcntl); +__weak_reference(__fcntl_compat, fcntl); int -__fcntl(int fd, int cmd, ...) +__fcntl_compat(int fd, int cmd, ...) { va_list args; long arg; |