Commit 727dcb1c authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Change arg 4 of sys_setsockopt to `const void *',

for consistency with Posix.
parent a5a389bb
...@@ -102,7 +102,7 @@ struct hostent * sys_gethostbyname (const char * name); ...@@ -102,7 +102,7 @@ struct hostent * sys_gethostbyname (const char * name);
struct servent * sys_getservbyname (const char * name, const char * proto); struct servent * sys_getservbyname (const char * name, const char * proto);
int sys_getpeername (int s, struct sockaddr *addr, int * namelen); int sys_getpeername (int s, struct sockaddr *addr, int * namelen);
int sys_shutdown (int socket, int how); 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_listen (int s, int backlog);
int sys_getsockname (int s, struct sockaddr * name, int * namelen); int sys_getsockname (int s, struct sockaddr * name, int * namelen);
int sys_accept (int s, struct sockaddr *addr, int *addrlen); int sys_accept (int s, struct sockaddr *addr, int *addrlen);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment