Use INTDEF for __connect.
This commit is contained in:
parent
db601cfcce
commit
1555f102ef
|
@ -1,8 +1,11 @@
|
|||
/* This is a system call. We only have to provide the wrapper. */
|
||||
#include <sys/socket.h>
|
||||
|
||||
#undef __connect
|
||||
|
||||
int
|
||||
__connect (int fd, __CONST_SOCKADDR_ARG addr, socklen_t len)
|
||||
{
|
||||
return connect (fd, addr, len);
|
||||
}
|
||||
INTDEF(__connect)
|
||||
|
|
Loading…
Reference in a new issue