Cygwin: fix socketpair prototype
Last parameter is a vector of 2 ints, not a pointer to int Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -40,7 +40,7 @@ extern "C"
|
||||
int shutdown (int, int);
|
||||
int socket (int __family, int __type, int __protocol);
|
||||
int sockatmark (int __fd);
|
||||
int socketpair (int __domain, int __type, int __protocol, int *__socket_vec);
|
||||
int socketpair (int __domain, int __type, int __protocol, int __fds[2]);
|
||||
|
||||
struct servent *getservbyname (const char *__name, const char *__proto);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user