changeset 63039:3b68a0c4a187

Change arg 4 of sys_setsockopt to `const void *', for consistency with Posix.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 05 Jun 2005 19:16:03 +0000
parents ac1cd1222417
children c4a762de4c7b
files nt/inc/sys/socket.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);