mirror of
https://github.com/python/cpython.git
synced 2024-11-25 02:44:06 +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 MS_WINDOWS
|
||||||
|
|
||||||
#ifndef HAVE_INET_PTON
|
#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);
|
char *inet_ntop(int af, void *src, char *dst, socklen_t size);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user