Make fcntl() a weak symbol so that it can be overridden by thread libraries.
MFC after: 2 days
This commit is contained in:
parent
d90de33855
commit
2da0808aec
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user