Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-09-17 12:55:30 +0400
committerCorinna Vinschen <corinna@vinschen.de>2005-09-17 12:55:30 +0400
commit5da8b1281b4a9bb9c1748cd72a73af3b97a1f9fb (patch)
tree00252681cbb5d64e143f6894ce8546966e1e9df7 /winsup/cygwin/include/arpa
parentb3ecdcf438d47d78e8a6b029c209ebf6f2fea7fe (diff)
* 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')
-rw-r--r--winsup/cygwin/include/arpa/inet.h2
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