From: Martin v. Löwis Date: Mon, 25 Jun 2001 06:38:03 +0000 (+0000) Subject: Remove const-ness in inet_pton declaration. X-Git-Tag: v2.2a3~1429 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51777ce7582241f74bc3a868ed1f018b8b445559;p=python Remove const-ness in inet_pton declaration. --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index af41140ef4..962fbfa374 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -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