summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-06-25 06:38:03 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-06-25 06:38:03 (GMT)
commit51777ce7582241f74bc3a868ed1f018b8b445559 (patch)
treeee10add26afcafc9db3d042b56c498e098eefd36 /Modules
parent2b110f97132668bbf19622de4b97ac022db98f74 (diff)
downloadcpython-51777ce7582241f74bc3a868ed1f018b8b445559.zip
cpython-51777ce7582241f74bc3a868ed1f018b8b445559.tar.gz
cpython-51777ce7582241f74bc3a868ed1f018b8b445559.tar.bz2
Remove const-ness in inet_pton declaration.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index af41140..962fbfa 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