mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-27 04:41:02 +08:00
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 New Issue
Block a user