Cygwin: fhandler_socket: define socketpair as virtual function

...in preparation of moving the type and protocol test into the
actual classes.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2018-02-26 17:53:50 +01:00
parent 5b6cbef9e0
commit 1e5e44a9a5
5 changed files with 21 additions and 7 deletions

View File

@ -235,7 +235,7 @@ fhandler_socket_unix::socket (int af, int type, int protocol, int flags)
int
fhandler_socket_unix::socketpair (int af, int type, int protocol, int flags,
fhandler_socket_unix *fh_out)
fhandler_socket *fh_out)
{
set_errno (EAFNOSUPPORT);
return -1;