]> granicus.if.org Git - python/commitdiff
Remove const-ness in inet_pton declaration.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 25 Jun 2001 06:38:03 +0000 (06:38 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 25 Jun 2001 06:38:03 +0000 (06:38 +0000)
Modules/socketmodule.c

index af41140ef4007837f744375f1bbc3bff83053c87..962fbfa374be5ff8fc19036634387071009558f9 100644 (file)
@@ -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