summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/gethostnamadr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/net/gethostnamadr.c')
-rw-r--r--src/lib/libc/net/gethostnamadr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libc/net/gethostnamadr.c b/src/lib/libc/net/gethostnamadr.c
index b72118c45c..91a0213403 100644
--- a/src/lib/libc/net/gethostnamadr.c
+++ b/src/lib/libc/net/gethostnamadr.c
@@ -52,7 +52,7 @@
52 */ 52 */
53 53
54#if defined(LIBC_SCCS) && !defined(lint) 54#if defined(LIBC_SCCS) && !defined(lint)
55static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.18 1997/04/03 07:54:01 deraadt Exp $"; 55static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.19 1997/04/03 08:33:03 downsj Exp $";
56#endif /* LIBC_SCCS and not lint */ 56#endif /* LIBC_SCCS and not lint */
57 57
58#include <sys/param.h> 58#include <sys/param.h>
@@ -103,7 +103,7 @@ static void map_v4v6_hostent __P((struct hostent *hp, char **bp, int *len));
103static void addrsort __P((char **, int)); 103static void addrsort __P((char **, int));
104#endif 104#endif
105 105
106static int hokchar __P((const char *)); 106int _hokchar __P((const char *));
107 107
108static const char AskedForGot[] = 108static const char AskedForGot[] =
109 "gethostby*.getanswer: asked for \"%s\", got \"%s\""; 109 "gethostby*.getanswer: asked for \"%s\", got \"%s\"";
@@ -129,8 +129,8 @@ static struct hostent *getanswer __P((const querybuf *, int, const char *,
129 129
130extern int h_errno; 130extern int h_errno;
131 131
132static int 132int
133hokchar(p) 133_hokchar(p)
134 const char *p; 134 const char *p;
135{ 135{
136 char c; 136 char c;
@@ -186,7 +186,7 @@ getanswer(answer, anslen, qname, qtype)
186#ifdef USE_RESOLV_NAME_OK 186#ifdef USE_RESOLV_NAME_OK
187 name_ok = res_dnok; 187 name_ok = res_dnok;
188#else 188#else
189 name_ok = hokchar; 189 name_ok = _hokchar;
190#endif 190#endif
191 break; 191 break;
192 default: 192 default: