diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/fake-getaddrinfo.c | 4 | ||||
-rw-r--r-- | openbsd-compat/fake-getaddrinfo.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/openbsd-compat/fake-getaddrinfo.c b/openbsd-compat/fake-getaddrinfo.c index 2a2f269cb..e04776606 100644 --- a/openbsd-compat/fake-getaddrinfo.c +++ b/openbsd-compat/fake-getaddrinfo.c | |||
@@ -12,10 +12,10 @@ | |||
12 | #include "includes.h" | 12 | #include "includes.h" |
13 | #include "ssh.h" | 13 | #include "ssh.h" |
14 | 14 | ||
15 | RCSID("$Id: fake-getaddrinfo.c,v 1.3 2003/02/05 23:50:42 djm Exp $"); | 15 | RCSID("$Id: fake-getaddrinfo.c,v 1.4 2003/02/24 01:35:09 djm Exp $"); |
16 | 16 | ||
17 | #ifndef HAVE_GAI_STRERROR | 17 | #ifndef HAVE_GAI_STRERROR |
18 | const char *gai_strerror(int ecode) | 18 | char *gai_strerror(int ecode) |
19 | { | 19 | { |
20 | switch (ecode) { | 20 | switch (ecode) { |
21 | case EAI_NODATA: | 21 | case EAI_NODATA: |
diff --git a/openbsd-compat/fake-getaddrinfo.h b/openbsd-compat/fake-getaddrinfo.h index a14a2cc11..6943378e9 100644 --- a/openbsd-compat/fake-getaddrinfo.h +++ b/openbsd-compat/fake-getaddrinfo.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: fake-getaddrinfo.h,v 1.3 2003/02/05 23:50:43 djm Exp $ */ | 1 | /* $Id: fake-getaddrinfo.h,v 1.4 2003/02/24 01:35:09 djm Exp $ */ |
2 | 2 | ||
3 | #ifndef _FAKE_GETADDRINFO_H | 3 | #ifndef _FAKE_GETADDRINFO_H |
4 | #define _FAKE_GETADDRINFO_H | 4 | #define _FAKE_GETADDRINFO_H |
@@ -37,7 +37,7 @@ int getaddrinfo(const char *hostname, const char *servname, | |||
37 | #endif /* !HAVE_GETADDRINFO */ | 37 | #endif /* !HAVE_GETADDRINFO */ |
38 | 38 | ||
39 | #ifndef HAVE_GAI_STRERROR | 39 | #ifndef HAVE_GAI_STRERROR |
40 | const char *gai_strerror(int ecode); | 40 | char *gai_strerror(int ecode); |
41 | #endif /* !HAVE_GAI_STRERROR */ | 41 | #endif /* !HAVE_GAI_STRERROR */ |
42 | 42 | ||
43 | #ifndef HAVE_FREEADDRINFO | 43 | #ifndef HAVE_FREEADDRINFO |