Skip to content

Commit 51777ce

Browse files
committed
Remove const-ness in inet_pton declaration.
1 parent 2b110f9 commit 51777ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/socketmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Socket methods:
217217
#ifndef MS_WINDOWS
218218

219219
#ifndef HAVE_INET_PTON
220-
int inet_pton (int af, const char *src, void *dst);
220+
int inet_pton (int af, char *src, void *dst);
221221
char *inet_ntop(int af, void *src, char *dst, socklen_t size);
222222
#endif
223223

0 commit comments

Comments
 (0)