diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index c24304b21..ab6fb6e91 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);