diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-09-17 08:55:30 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-09-17 08:55:30 +0000 |
commit | 5da8b1281b4a9bb9c1748cd72a73af3b97a1f9fb (patch) | |
tree | 00252681cbb5d64e143f6894ce8546966e1e9df7 /winsup/cygwin/include/arpa/inet.h | |
parent | b3ecdcf438d47d78e8a6b029c209ebf6f2fea7fe (diff) | |
download | cygnal-5da8b1281b4a9bb9c1748cd72a73af3b97a1f9fb.tar.gz cygnal-5da8b1281b4a9bb9c1748cd72a73af3b97a1f9fb.tar.bz2 cygnal-5da8b1281b4a9bb9c1748cd72a73af3b97a1f9fb.zip |
* net.cc (cygwin_inet_ntop): Change len argument to socklen_t to
follow SUSv3.
* include/arpa/inet.h (inet_ntop): Ditto.
* include/cygwin/in.h: Include cygwin/socket.h to get socklen_t.
Diffstat (limited to 'winsup/cygwin/include/arpa/inet.h')
-rw-r--r-- | winsup/cygwin/include/arpa/inet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/arpa/inet.h b/winsup/cygwin/include/arpa/inet.h index f7db90021..d6b19fce7 100644 --- a/winsup/cygwin/include/arpa/inet.h +++ b/winsup/cygwin/include/arpa/inet.h @@ -27,7 +27,7 @@ in_addr_t inet_netof (struct in_addr); in_addr_t inet_network (const char *); char *inet_ntoa (struct in_addr); int inet_pton (int, const char *, void *); -const char *inet_ntop (int, const void *, char *, size_t); +const char *inet_ntop (int, const void *, char *, socklen_t); #endif #ifdef __cplusplus |