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:
Corinna Vinschen
2018-03-09 14:17:39 +01:00
parent e4c65b2e91
commit f4a1a186f9
2 changed files with 4 additions and 4 deletions

View File

@ -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