From: Eli Zaretskii Date: Sun, 5 Jun 2005 19:16:03 +0000 (+0000) Subject: Change arg 4 of sys_setsockopt to `const void *', X-Git-Tag: emacs-pretest-22.0.90~9288 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=727dcb1cc3393c1a584d6c98269f5016c539a528;p=emacs.git Change arg 4 of sys_setsockopt to `const void *', for consistency with Posix. --- diff --git a/nt/inc/sys/socket.h b/nt/inc/sys/socket.h index 422a27d1b52..d3936da2a4d 100644 --- a/nt/inc/sys/socket.h +++ b/nt/inc/sys/socket.h @@ -102,7 +102,7 @@ struct hostent * sys_gethostbyname (const char * name); struct servent * sys_getservbyname (const char * name, const char * proto); int sys_getpeername (int s, struct sockaddr *addr, int * namelen); int sys_shutdown (int socket, int how); -int sys_setsockopt (int s, int level, int oname, const char * oval, int olen); +int sys_setsockopt (int s, int level, int oname, const void * oval, int olen); int sys_listen (int s, int backlog); int sys_getsockname (int s, struct sockaddr * name, int * namelen); int sys_accept (int s, struct sockaddr *addr, int *addrlen);