diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-07-10 13:22:48 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-07-10 13:22:48 +0000 |
commit | 071bf811289ff4c73dbbce14ca9ccc90a4e0c658 (patch) | |
tree | c8beac5d5d5d00049f93699a95ce867d5dd9ee42 /winsup | |
parent | 14295a59d3e9b6a20d4cef1aeaa19f31f84ec30b (diff) | |
download | newlib-071bf811289ff4c73dbbce14ca9ccc90a4e0c658.zip newlib-071bf811289ff4c73dbbce14ca9ccc90a4e0c658.tar.gz newlib-071bf811289ff4c73dbbce14ca9ccc90a4e0c658.tar.bz2 |
* include/netdb.h (gethostbyname2): Declare.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/include/netdb.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 76a6022..a971b0f 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2011-07-10 Corinna Vinschen <corinna@vinschen.de> + + * include/netdb.h (gethostbyname2): Declare. + 2011-07-09 Eric Blake <eblake@redhat.com> * signal.cc (handle_sigprocmask): Return error rather than setting diff --git a/winsup/cygwin/include/netdb.h b/winsup/cygwin/include/netdb.h index 1a6d241..69ef727 100644 --- a/winsup/cygwin/include/netdb.h +++ b/winsup/cygwin/include/netdb.h @@ -188,6 +188,7 @@ void endservent (void); void endrpcent (void); struct hostent *gethostbyaddr (const char *, int, int); struct hostent *gethostbyname (const char *); +struct hostent *gethostbyname2 (const char *, int); struct hostent *gethostent (void); struct netent *getnetbyaddr (long, int); /* u_long? */ struct netent *getnetbyname (const char *); |