https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=ea543d3ffa129dd4976aa19d47cf6c8f7ce09a11
commit ea543d3ffa129dd4976aa19d47cf6c8f7ce09a11 Author: Corinna Vinschen <cori...@vinschen.de> Date: Fri Feb 16 17:34:57 2018 +0100 Cygwin: fix declaration of fhandler_socket::socketpair Signed-off-by: Corinna Vinschen <cori...@vinschen.de> Diff: --- winsup/cygwin/fhandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index c24304b..ab6fb6e 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -588,8 +588,8 @@ class fhandler_socket: public fhandler_base int getsockname (struct sockaddr *name, int *namelen); int getpeername (struct sockaddr *name, int *namelen); int getpeereid (pid_t *pid, uid_t *euid, gid_t *egid); - socketpair (int af, int type, int protocol, int flags, - fhandler_socket *fh_out); + int socketpair (int af, int type, int protocol, int flags, + fhandler_socket *fh_out); int open (int flags, mode_t mode = 0); void __reg3 read (void *ptr, size_t& len);