mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Remove const-ness in inet_pton declaration.
This commit is contained in:
parent
2b110f9713
commit
51777ce758
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue