diff options
author | Damien Miller <djm@mindrot.org> | 2003-02-24 12:35:08 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-02-24 12:35:08 +1100 |
commit | 30947c72878e2dd1e6cf614d73bae226ab863b60 (patch) | |
tree | 0323f87eaf0bd6175077697f08005c582fdae3b1 /openbsd-compat/fake-getaddrinfo.h | |
parent | d194048f573136f1c2c34d25f951b78f4ffc7d77 (diff) |
- (djm) Bug #501: gai_strerror should return char*;
fix from dtucker@zip.com.au
Diffstat (limited to 'openbsd-compat/fake-getaddrinfo.h')
-rw-r--r-- | openbsd-compat/fake-getaddrinfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/fake-getaddrinfo.h b/openbsd-compat/fake-getaddrinfo.h index a14a2cc1..6943378e 100644 --- a/openbsd-compat/fake-getaddrinfo.h +++ b/openbsd-compat/fake-getaddrinfo.h @@ -1,4 +1,4 @@ -/* $Id: fake-getaddrinfo.h,v 1.3 2003/02/05 23:50:43 djm Exp $ */ +/* $Id: fake-getaddrinfo.h,v 1.4 2003/02/24 01:35:09 djm Exp $ */ #ifndef _FAKE_GETADDRINFO_H #define _FAKE_GETADDRINFO_H @@ -37,7 +37,7 @@ int getaddrinfo(const char *hostname, const char *servname, #endif /* !HAVE_GETADDRINFO */ #ifndef HAVE_GAI_STRERROR -const char *gai_strerror(int ecode); +char *gai_strerror(int ecode); #endif /* !HAVE_GAI_STRERROR */ #ifndef HAVE_FREEADDRINFO |