* 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:
Corinna Vinschen
2002-08-26 09:57:27 +00:00
parent 38170b13ea
commit c250f9145b
5 changed files with 51 additions and 24 deletions

View File

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