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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=51777ce7582241f74bc3a868ed1f018b8b445559;p=thirdparty%2FPython%2Fcpython.git Remove const-ness in inet_pton declaration. --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index af41140ef400..962fbfa374be 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