diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-06-25 06:38:03 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-06-25 06:38:03 (GMT) |
commit | 51777ce7582241f74bc3a868ed1f018b8b445559 (patch) | |
tree | ee10add26afcafc9db3d042b56c498e098eefd36 /Modules/socketmodule.c | |
parent | 2b110f97132668bbf19622de4b97ac022db98f74 (diff) | |
download | cpython-51777ce7582241f74bc3a868ed1f018b8b445559.zip cpython-51777ce7582241f74bc3a868ed1f018b8b445559.tar.gz cpython-51777ce7582241f74bc3a868ed1f018b8b445559.tar.bz2 |
Remove const-ness in inet_pton declaration.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 2 |
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 |