mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Remove const-ness in inet_pton declaration.
This commit is contained in:
parent
2b110f9713
commit
51777ce758
@ -217,7 +217,7 @@ Socket methods:
|
||||
#ifndef MS_WINDOWS
|
||||
|
||||
#ifndef HAVE_INET_PTON
|
||||
int inet_pton (int af, const char *src, void *dst);
|
||||
int inet_pton (int af, char *src, void *dst);
|
||||
char *inet_ntop(int af, void *src, char *dst, socklen_t size);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user