# HG changeset patch # User Eli Zaretskii # Date 1117998963 0 # Node ID 3b68a0c4a187ed06718d9149131cd20122465f3d # Parent ac1cd122241741afd4793158c88b3ce0855b38bf Change arg 4 of sys_setsockopt to `const void *', for consistency with Posix. diff -r ac1cd1222417 -r 3b68a0c4a187 nt/inc/sys/socket.h --- a/nt/inc/sys/socket.h Sun Jun 05 19:13:37 2005 +0000 +++ b/nt/inc/sys/socket.h Sun Jun 05 19:16:03 2005 +0000 @@ -102,7 +102,7 @@ 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);