* fhandler.h (fhandler_socket::recvfrom): Fix prototype.
(fhandler_socket::sendto): Ditto. * fhandler_socket.cc (fhandler_socket::recvfrom): Ditto. (fhandler_socket::sendto): Ditto. * include/sys/socket.h (recv): Fix prototype. (recvfrom): Ditto. (send): Ditto. (sendto): Ditto. * net.cc (cygwin_sendto): Ditto. Improve strace message (cygwin_recvfrom): Ditto. Ditto. (cygwin_setsockopt): Improve strace message. (cygwin_getsockopt): Ditto. (cygwin_connect): Ditto. (cygwin_accept): Ditto. (cygwin_bind): Ditto. (cygwin_getsockname): Ditto. (cygwin_getpeername): Ditto. (cygwin_recv): Fix prototype. (cygwin_send): Ditto. (cygwin_recvmsg): Improve strace message. (cygwin_sendmsg): Ditto.
This commit is contained in:
@ -675,7 +675,7 @@ fhandler_socket::read (void *ptr, size_t len)
|
||||
}
|
||||
|
||||
int
|
||||
fhandler_socket::recvfrom (void *ptr, size_t len, unsigned int flags,
|
||||
fhandler_socket::recvfrom (void *ptr, size_t len, int flags,
|
||||
struct sockaddr *from, int *fromlen)
|
||||
{
|
||||
int res = -1;
|
||||
@ -763,7 +763,7 @@ fhandler_socket::write (const void *ptr, size_t len)
|
||||
}
|
||||
|
||||
int
|
||||
fhandler_socket::sendto (const void *ptr, size_t len, unsigned int flags,
|
||||
fhandler_socket::sendto (const void *ptr, size_t len, int flags,
|
||||
const struct sockaddr *to, int tolen)
|
||||
{
|
||||
int res = -1;
|
||||
|
Reference in New Issue
Block a user