mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Reference in a new issue