diff options
Diffstat (limited to 'src/lib/libc/net/gethostnamadr.c')
-rw-r--r-- | src/lib/libc/net/gethostnamadr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libc/net/gethostnamadr.c b/src/lib/libc/net/gethostnamadr.c index d7d6c621cf..d4e3c5e6f0 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) |
55 | static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.43 2001/06/27 00:58:55 lebel Exp $"; | 55 | static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.44 2002/02/16 21:27:23 millert 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> |
@@ -98,14 +98,14 @@ static union { | |||
98 | static FILE *hostf = NULL; | 98 | static FILE *hostf = NULL; |
99 | static int stayopen = 0; | 99 | static int stayopen = 0; |
100 | 100 | ||
101 | static void map_v4v6_address __P((const char *src, char *dst)); | 101 | static void map_v4v6_address(const char *src, char *dst); |
102 | static void map_v4v6_hostent __P((struct hostent *hp, char **bp, int *len)); | 102 | static void map_v4v6_hostent(struct hostent *hp, char **bp, int *len); |
103 | 103 | ||
104 | #ifdef RESOLVSORT | 104 | #ifdef RESOLVSORT |
105 | static void addrsort __P((char **, int)); | 105 | static void addrsort(char **, int); |
106 | #endif | 106 | #endif |
107 | 107 | ||
108 | int _hokchar __P((const char *)); | 108 | int _hokchar(const char *); |
109 | 109 | ||
110 | static const char AskedForGot[] = | 110 | static const char AskedForGot[] = |
111 | "gethostby*.getanswer: asked for \"%s\", got \"%s\""; | 111 | "gethostby*.getanswer: asked for \"%s\", got \"%s\""; |
@@ -175,7 +175,7 @@ getanswer(answer, anslen, qname, qtype) | |||
175 | int toobig = 0; | 175 | int toobig = 0; |
176 | char tbuf[MAXDNAME]; | 176 | char tbuf[MAXDNAME]; |
177 | const char *tname; | 177 | const char *tname; |
178 | int (*name_ok) __P((const char *)); | 178 | int (*name_ok)(const char *); |
179 | 179 | ||
180 | tname = qname; | 180 | tname = qname; |
181 | host.h_name = NULL; | 181 | host.h_name = NULL; |