diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2000-10-14 08:55:44 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2000-10-14 08:55:44 +0000 |
commit | 7d9688b79355c0e0d91ce1f6d1e5189ed8121797 (patch) | |
tree | 2d9b0bdae274e74b35a87dd9a5c2f36eabc65cbc /winsup/cygwin/include | |
parent | aece55b982a562c6ae305d3892b4206f3efa3f22 (diff) | |
download | cygnal-7d9688b79355c0e0d91ce1f6d1e5189ed8121797.tar.gz cygnal-7d9688b79355c0e0d91ce1f6d1e5189ed8121797.tar.bz2 cygnal-7d9688b79355c0e0d91ce1f6d1e5189ed8121797.zip |
* cygwin.din: Add symbol hstrerror.
* net.cc: Change meaning of member `s' of struct host_errmap.
(set_host_errno): Fix error in loop condition.
(hstrerror): Ditto.
(herror): Add appropriate functionality.
* include/netdb.h: Add declaration of hstrerror.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 29.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 3 | ||||
-rw-r--r-- | winsup/cygwin/include/netdb.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index c261c64fb..ff440b955 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -118,10 +118,11 @@ details. */ 26: CW_GET_CYGDRIVE_PREFIXES addition to external.cc 27: CW_GETPINFO_FULL addition to external.cc 28: Accidentally bumped by cgf + 29: Export hstrerror */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 28 +#define CYGWIN_VERSION_API_MINOR 29 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible diff --git a/winsup/cygwin/include/netdb.h b/winsup/cygwin/include/netdb.h index d1acc5e0a..7e4cc000d 100644 --- a/winsup/cygwin/include/netdb.h +++ b/winsup/cygwin/include/netdb.h @@ -151,6 +151,7 @@ struct servent *getservent (void); struct rpcent *getrpcent (void); struct rpcent *getrpcbyname (const char *); struct rpcent *getrpcbynumber (int); +const char *hstrerror (int); void herror (const char *); void sethostent (int); void setnetent (int); |