commit | 51777ce7582241f74bc3a868ed1f018b8b445559 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Mon Jun 25 06:38:03 2001 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Mon Jun 25 06:38:03 2001 +0000 |
tree | ee10add26afcafc9db3d042b56c498e098eefd36 | |
parent | 2b110f97132668bbf19622de4b97ac022db98f74 [diff] [blame] |
Remove const-ness in inet_pton declaration.
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 @@ #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