diff options
author | millert <> | 2002-02-17 19:42:31 +0000 |
---|---|---|
committer | millert <> | 2002-02-17 19:42:31 +0000 |
commit | 4d9f43fe58441f274978bd37f319b3c63bd308d3 (patch) | |
tree | a9c66881d16890b41470cc24e11482c34a906618 | |
parent | f192ef46d42d6e5294ddb97a544aefe74db261c6 (diff) | |
download | openbsd-4d9f43fe58441f274978bd37f319b3c63bd308d3.tar.gz openbsd-4d9f43fe58441f274978bd37f319b3c63bd308d3.tar.bz2 openbsd-4d9f43fe58441f274978bd37f319b3c63bd308d3.zip |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
-rw-r--r-- | src/lib/libc/net/getaddrinfo.c | 44 | ||||
-rw-r--r-- | src/lib/libc/net/gethostnamadr.c | 5 | ||||
-rw-r--r-- | src/lib/libc/net/getnameinfo.c | 6 | ||||
-rw-r--r-- | src/lib/libc/net/inet_net_ntop.c | 7 | ||||
-rw-r--r-- | src/lib/libc/net/inet_net_pton.c | 7 | ||||
-rw-r--r-- | src/lib/libc/net/rcmd.c | 6 | ||||
-rw-r--r-- | src/lib/libc/net/res_comp.c | 7 | ||||
-rw-r--r-- | src/lib/libc/stdlib/merge.c | 6 | ||||
-rw-r--r-- | src/lib/libc/stdlib/qsort.c | 4 | ||||
-rw-r--r-- | src/lib/libc/stdlib/radixsort.c | 6 | ||||
-rw-r--r-- | src/usr.bin/nc/netcat.c | 4 |
11 files changed, 48 insertions, 54 deletions
diff --git a/src/lib/libc/net/getaddrinfo.c b/src/lib/libc/net/getaddrinfo.c index 72183d260b..d16900b4a0 100644 --- a/src/lib/libc/net/getaddrinfo.c +++ b/src/lib/libc/net/getaddrinfo.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getaddrinfo.c,v 1.32 2002/02/16 21:27:23 millert Exp $ */ | 1 | /* $OpenBSD: getaddrinfo.c,v 1.33 2002/02/17 19:42:23 millert Exp $ */ |
2 | /* $KAME: getaddrinfo.c,v 1.31 2000/08/31 17:36:43 itojun Exp $ */ | 2 | /* $KAME: getaddrinfo.c,v 1.31 2000/08/31 17:36:43 itojun Exp $ */ |
3 | 3 | ||
4 | /* | 4 | /* |
@@ -200,18 +200,18 @@ struct res_target { | |||
200 | }; | 200 | }; |
201 | 201 | ||
202 | static int str_isnumber(const char *); | 202 | static int str_isnumber(const char *); |
203 | static int explore_fqdn __P((const struct addrinfo *, const char *, | 203 | static int explore_fqdn(const struct addrinfo *, const char *, |
204 | const char *, struct addrinfo **)); | 204 | const char *, struct addrinfo **); |
205 | static int explore_null __P((const struct addrinfo *, | 205 | static int explore_null(const struct addrinfo *, |
206 | const char *, struct addrinfo **)); | 206 | const char *, struct addrinfo **); |
207 | static int explore_numeric __P((const struct addrinfo *, const char *, | 207 | static int explore_numeric(const struct addrinfo *, const char *, |
208 | const char *, struct addrinfo **)); | 208 | const char *, struct addrinfo **); |
209 | static int explore_numeric_scope __P((const struct addrinfo *, const char *, | 209 | static int explore_numeric_scope(const struct addrinfo *, const char *, |
210 | const char *, struct addrinfo **)); | 210 | const char *, struct addrinfo **); |
211 | static int get_canonname __P((const struct addrinfo *, | 211 | static int get_canonname(const struct addrinfo *, |
212 | struct addrinfo *, const char *)); | 212 | struct addrinfo *, const char *); |
213 | static struct addrinfo *get_ai __P((const struct addrinfo *, | 213 | static struct addrinfo *get_ai(const struct addrinfo *, |
214 | const struct afd *, const char *)); | 214 | const struct afd *, const char *); |
215 | static int get_portmatch(const struct addrinfo *, const char *); | 215 | static int get_portmatch(const struct addrinfo *, const char *); |
216 | static int get_port(struct addrinfo *, const char *, int); | 216 | static int get_port(struct addrinfo *, const char *, int); |
217 | static const struct afd *find_afd(int); | 217 | static const struct afd *find_afd(int); |
@@ -225,23 +225,21 @@ static int ip6_str2scopeid(char *, struct sockaddr_in6 *); | |||
225 | static void _sethtent(void); | 225 | static void _sethtent(void); |
226 | static void _endhtent(void); | 226 | static void _endhtent(void); |
227 | static struct addrinfo * _gethtent(const char *, const struct addrinfo *); | 227 | static struct addrinfo * _gethtent(const char *, const struct addrinfo *); |
228 | static struct addrinfo *_files_getaddrinfo __P((const char *, | 228 | static struct addrinfo *_files_getaddrinfo(const char *, |
229 | const struct addrinfo *)); | 229 | const struct addrinfo *); |
230 | 230 | ||
231 | #ifdef YP | 231 | #ifdef YP |
232 | static struct addrinfo *_yphostent(char *, const struct addrinfo *); | 232 | static struct addrinfo *_yphostent(char *, const struct addrinfo *); |
233 | static struct addrinfo *_yp_getaddrinfo __P((const char *, | 233 | static struct addrinfo *_yp_getaddrinfo(const char *, |
234 | const struct addrinfo *)); | 234 | const struct addrinfo *); |
235 | #endif | 235 | #endif |
236 | 236 | ||
237 | static struct addrinfo *getanswer __P((const querybuf *, int, const char *, int, | 237 | static struct addrinfo *getanswer(const querybuf *, int, const char *, int, |
238 | const struct addrinfo *)); | 238 | const struct addrinfo *); |
239 | static int res_queryN(const char *, struct res_target *); | 239 | static int res_queryN(const char *, struct res_target *); |
240 | static int res_searchN(const char *, struct res_target *); | 240 | static int res_searchN(const char *, struct res_target *); |
241 | static int res_querydomainN __P((const char *, const char *, | 241 | static int res_querydomainN(const char *, const char *, struct res_target *); |
242 | struct res_target *)); | 242 | static struct addrinfo *_dns_getaddrinfo(const char *, const struct addrinfo *); |
243 | static struct addrinfo *_dns_getaddrinfo __P((const char *, | ||
244 | const struct addrinfo *)); | ||
245 | 243 | ||
246 | 244 | ||
247 | /* XXX macros that make external reference is BAD. */ | 245 | /* XXX macros that make external reference is BAD. */ |
diff --git a/src/lib/libc/net/gethostnamadr.c b/src/lib/libc/net/gethostnamadr.c index d4e3c5e6f0..9061caf0c2 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.44 2002/02/16 21:27:23 millert Exp $"; | 55 | static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.45 2002/02/17 19:42: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> |
@@ -126,8 +126,7 @@ typedef union { | |||
126 | char ac; | 126 | char ac; |
127 | } align; | 127 | } align; |
128 | 128 | ||
129 | static struct hostent *getanswer __P((const querybuf *, int, const char *, | 129 | static struct hostent *getanswer(const querybuf *, int, const char *, int); |
130 | int)); | ||
131 | 130 | ||
132 | extern int h_errno; | 131 | extern int h_errno; |
133 | 132 | ||
diff --git a/src/lib/libc/net/getnameinfo.c b/src/lib/libc/net/getnameinfo.c index c19603f2d1..15dc9dcdea 100644 --- a/src/lib/libc/net/getnameinfo.c +++ b/src/lib/libc/net/getnameinfo.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getnameinfo.c,v 1.22 2002/02/16 21:27:23 millert Exp $ */ | 1 | /* $OpenBSD: getnameinfo.c,v 1.23 2002/02/17 19:42:23 millert Exp $ */ |
2 | /* $KAME: getnameinfo.c,v 1.45 2000/09/25 22:43:56 itojun Exp $ */ | 2 | /* $KAME: getnameinfo.c,v 1.45 2000/09/25 22:43:56 itojun Exp $ */ |
3 | 3 | ||
4 | /* | 4 | /* |
@@ -81,8 +81,8 @@ struct sockinet { | |||
81 | }; | 81 | }; |
82 | 82 | ||
83 | #ifdef INET6 | 83 | #ifdef INET6 |
84 | static int ip6_parsenumeric __P((const struct sockaddr *, const char *, char *, | 84 | static int ip6_parsenumeric(const struct sockaddr *, const char *, char *, |
85 | size_t, int)); | 85 | size_t, int); |
86 | static int ip6_sa2str(const struct sockaddr_in6 *, char *, size_t, int); | 86 | static int ip6_sa2str(const struct sockaddr_in6 *, char *, size_t, int); |
87 | #endif | 87 | #endif |
88 | 88 | ||
diff --git a/src/lib/libc/net/inet_net_ntop.c b/src/lib/libc/net/inet_net_ntop.c index 943ec44550..f5cb588d10 100644 --- a/src/lib/libc/net/inet_net_ntop.c +++ b/src/lib/libc/net/inet_net_ntop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: inet_net_ntop.c,v 1.1 1997/03/13 19:07:30 downsj Exp $ */ | 1 | /* $OpenBSD: inet_net_ntop.c,v 1.2 2002/02/17 19:42:23 millert Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1996 by Internet Software Consortium. | 4 | * Copyright (c) 1996 by Internet Software Consortium. |
@@ -21,7 +21,7 @@ | |||
21 | #if 0 | 21 | #if 0 |
22 | static const char rcsid[] = "$From: inet_net_ntop.c,v 8.2 1996/08/08 06:54:44 vixie Exp $"; | 22 | static const char rcsid[] = "$From: inet_net_ntop.c,v 8.2 1996/08/08 06:54:44 vixie Exp $"; |
23 | #else | 23 | #else |
24 | static const char rcsid[] = "$OpenBSD: inet_net_ntop.c,v 1.1 1997/03/13 19:07:30 downsj Exp $"; | 24 | static const char rcsid[] = "$OpenBSD: inet_net_ntop.c,v 1.2 2002/02/17 19:42:23 millert Exp $"; |
25 | #endif | 25 | #endif |
26 | #endif | 26 | #endif |
27 | 27 | ||
@@ -35,8 +35,7 @@ static const char rcsid[] = "$OpenBSD: inet_net_ntop.c,v 1.1 1997/03/13 19:07:30 | |||
35 | #include <string.h> | 35 | #include <string.h> |
36 | #include <stdlib.h> | 36 | #include <stdlib.h> |
37 | 37 | ||
38 | static char * inet_net_ntop_ipv4 __P((const u_char *src, int bits, | 38 | static char *inet_net_ntop_ipv4(const u_char *, int, char *, size_t); |
39 | char *dst, size_t size)); | ||
40 | 39 | ||
41 | /* | 40 | /* |
42 | * char * | 41 | * char * |
diff --git a/src/lib/libc/net/inet_net_pton.c b/src/lib/libc/net/inet_net_pton.c index b529e83664..932531eb5d 100644 --- a/src/lib/libc/net/inet_net_pton.c +++ b/src/lib/libc/net/inet_net_pton.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: inet_net_pton.c,v 1.1 1997/03/13 19:07:30 downsj Exp $ */ | 1 | /* $OpenBSD: inet_net_pton.c,v 1.2 2002/02/17 19:42:23 millert Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1996 by Internet Software Consortium. | 4 | * Copyright (c) 1996 by Internet Software Consortium. |
@@ -21,7 +21,7 @@ | |||
21 | #if 0 | 21 | #if 0 |
22 | static const char rcsid[] = "$From: inet_net_pton.c,v 8.3 1996/11/11 06:36:52 vixie Exp $"; | 22 | static const char rcsid[] = "$From: inet_net_pton.c,v 8.3 1996/11/11 06:36:52 vixie Exp $"; |
23 | #else | 23 | #else |
24 | static const char rcsid[] = "$OpenBSD: inet_net_pton.c,v 1.1 1997/03/13 19:07:30 downsj Exp $"; | 24 | static const char rcsid[] = "$OpenBSD: inet_net_pton.c,v 1.2 2002/02/17 19:42:23 millert Exp $"; |
25 | #endif | 25 | #endif |
26 | #endif | 26 | #endif |
27 | 27 | ||
@@ -37,8 +37,7 @@ static const char rcsid[] = "$OpenBSD: inet_net_pton.c,v 1.1 1997/03/13 19:07:30 | |||
37 | #include <string.h> | 37 | #include <string.h> |
38 | #include <stdlib.h> | 38 | #include <stdlib.h> |
39 | 39 | ||
40 | static int inet_net_pton_ipv4 __P((const char *src, u_char *dst, | 40 | static int inet_net_pton_ipv4(const char *, u_char *, size_t); |
41 | size_t size)); | ||
42 | 41 | ||
43 | /* | 42 | /* |
44 | * static int | 43 | * static int |
diff --git a/src/lib/libc/net/rcmd.c b/src/lib/libc/net/rcmd.c index 95d481a7f6..143b667ba8 100644 --- a/src/lib/libc/net/rcmd.c +++ b/src/lib/libc/net/rcmd.c | |||
@@ -34,7 +34,7 @@ | |||
34 | */ | 34 | */ |
35 | 35 | ||
36 | #if defined(LIBC_SCCS) && !defined(lint) | 36 | #if defined(LIBC_SCCS) && !defined(lint) |
37 | static char *rcsid = "$OpenBSD: rcmd.c,v 1.40 2002/02/16 21:27:23 millert Exp $"; | 37 | static char *rcsid = "$OpenBSD: rcmd.c,v 1.41 2002/02/17 19:42:23 millert Exp $"; |
38 | #endif /* LIBC_SCCS and not lint */ | 38 | #endif /* LIBC_SCCS and not lint */ |
39 | 39 | ||
40 | #include <sys/param.h> | 40 | #include <sys/param.h> |
@@ -58,8 +58,8 @@ static char *rcsid = "$OpenBSD: rcmd.c,v 1.40 2002/02/16 21:27:23 millert Exp $" | |||
58 | #include <netgroup.h> | 58 | #include <netgroup.h> |
59 | 59 | ||
60 | int __ivaliduser(FILE *, in_addr_t, const char *, const char *); | 60 | int __ivaliduser(FILE *, in_addr_t, const char *, const char *); |
61 | int __ivaliduser_sa __P((FILE *, struct sockaddr *, socklen_t, | 61 | int __ivaliduser_sa(FILE *, struct sockaddr *, socklen_t, |
62 | const char *, const char *)); | 62 | const char *, const char *); |
63 | static int __icheckhost(struct sockaddr *, socklen_t, const char *); | 63 | static int __icheckhost(struct sockaddr *, socklen_t, const char *); |
64 | static char *__gethostloop(struct sockaddr *, socklen_t); | 64 | static char *__gethostloop(struct sockaddr *, socklen_t); |
65 | 65 | ||
diff --git a/src/lib/libc/net/res_comp.c b/src/lib/libc/net/res_comp.c index f7a0358967..948923cf37 100644 --- a/src/lib/libc/net/res_comp.c +++ b/src/lib/libc/net/res_comp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: res_comp.c,v 1.8 1997/07/09 01:08:49 millert Exp $ */ | 1 | /* $OpenBSD: res_comp.c,v 1.9 2002/02/17 19:42:23 millert Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * ++Copyright++ 1985, 1993 | 4 | * ++Copyright++ 1985, 1993 |
@@ -60,7 +60,7 @@ | |||
60 | static char sccsid[] = "@(#)res_comp.c 8.1 (Berkeley) 6/4/93"; | 60 | static char sccsid[] = "@(#)res_comp.c 8.1 (Berkeley) 6/4/93"; |
61 | static char rcsid[] = "$From: res_comp.c,v 8.11 1996/12/02 09:17:22 vixie Exp $"; | 61 | static char rcsid[] = "$From: res_comp.c,v 8.11 1996/12/02 09:17:22 vixie Exp $"; |
62 | #else | 62 | #else |
63 | static char rcsid[] = "$OpenBSD: res_comp.c,v 1.8 1997/07/09 01:08:49 millert Exp $"; | 63 | static char rcsid[] = "$OpenBSD: res_comp.c,v 1.9 2002/02/17 19:42:23 millert Exp $"; |
64 | #endif | 64 | #endif |
65 | #endif /* LIBC_SCCS and not lint */ | 65 | #endif /* LIBC_SCCS and not lint */ |
66 | 66 | ||
@@ -76,8 +76,7 @@ static char rcsid[] = "$OpenBSD: res_comp.c,v 1.8 1997/07/09 01:08:49 millert Ex | |||
76 | #include <unistd.h> | 76 | #include <unistd.h> |
77 | #include <string.h> | 77 | #include <string.h> |
78 | 78 | ||
79 | static int dn_find __P((u_char *exp_dn, u_char *msg, | 79 | static int dn_find(u_char *, u_char *, u_char **, u_char **); |
80 | u_char **dnptrs, u_char **lastdnptr)); | ||
81 | 80 | ||
82 | /* | 81 | /* |
83 | * Expand compressed domain name 'comp_dn' to full domain name. | 82 | * Expand compressed domain name 'comp_dn' to full domain name. |
diff --git a/src/lib/libc/stdlib/merge.c b/src/lib/libc/stdlib/merge.c index 345eb2fd8b..4ae6488af2 100644 --- a/src/lib/libc/stdlib/merge.c +++ b/src/lib/libc/stdlib/merge.c | |||
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #if defined(LIBC_SCCS) && !defined(lint) | 37 | #if defined(LIBC_SCCS) && !defined(lint) |
38 | static char *rcsid = "$OpenBSD: merge.c,v 1.4 2002/02/16 21:27:24 millert Exp $"; | 38 | static char *rcsid = "$OpenBSD: merge.c,v 1.5 2002/02/17 19:42:24 millert Exp $"; |
39 | #endif /* LIBC_SCCS and not lint */ | 39 | #endif /* LIBC_SCCS and not lint */ |
40 | 40 | ||
41 | /* | 41 | /* |
@@ -58,8 +58,8 @@ static char *rcsid = "$OpenBSD: merge.c,v 1.4 2002/02/16 21:27:24 millert Exp $" | |||
58 | #include <stdlib.h> | 58 | #include <stdlib.h> |
59 | #include <string.h> | 59 | #include <string.h> |
60 | 60 | ||
61 | static void setup __P((u_char *, u_char *, size_t, size_t, int (*)())); | 61 | static void setup(u_char *, u_char *, size_t, size_t, int (*)()); |
62 | static void insertionsort __P((u_char *, size_t, size_t, int (*)())); | 62 | static void insertionsort(u_char *, size_t, size_t, int (*)()); |
63 | 63 | ||
64 | #define ISIZE sizeof(int) | 64 | #define ISIZE sizeof(int) |
65 | #define PSIZE sizeof(u_char *) | 65 | #define PSIZE sizeof(u_char *) |
diff --git a/src/lib/libc/stdlib/qsort.c b/src/lib/libc/stdlib/qsort.c index d16ed7b0bd..9b8bb5801b 100644 --- a/src/lib/libc/stdlib/qsort.c +++ b/src/lib/libc/stdlib/qsort.c | |||
@@ -32,13 +32,13 @@ | |||
32 | */ | 32 | */ |
33 | 33 | ||
34 | #if defined(LIBC_SCCS) && !defined(lint) | 34 | #if defined(LIBC_SCCS) && !defined(lint) |
35 | static char *rcsid = "$OpenBSD: qsort.c,v 1.6 2002/02/16 21:27:24 millert Exp $"; | 35 | static char *rcsid = "$OpenBSD: qsort.c,v 1.7 2002/02/17 19:42:24 millert Exp $"; |
36 | #endif /* LIBC_SCCS and not lint */ | 36 | #endif /* LIBC_SCCS and not lint */ |
37 | 37 | ||
38 | #include <sys/types.h> | 38 | #include <sys/types.h> |
39 | #include <stdlib.h> | 39 | #include <stdlib.h> |
40 | 40 | ||
41 | static __inline char *med3 __P((char *, char *, char *, int (*)())); | 41 | static __inline char *med3(char *, char *, char *, int (*)()); |
42 | static __inline void swapfunc(char *, char *, int, int); | 42 | static __inline void swapfunc(char *, char *, int, int); |
43 | 43 | ||
44 | #define min(a, b) (a) < (b) ? a : b | 44 | #define min(a, b) (a) < (b) ? a : b |
diff --git a/src/lib/libc/stdlib/radixsort.c b/src/lib/libc/stdlib/radixsort.c index 40d7c0789f..e03b479715 100644 --- a/src/lib/libc/stdlib/radixsort.c +++ b/src/lib/libc/stdlib/radixsort.c | |||
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #if defined(LIBC_SCCS) && !defined(lint) | 37 | #if defined(LIBC_SCCS) && !defined(lint) |
38 | static char *rcsid = "$OpenBSD: radixsort.c,v 1.4 2002/02/16 21:27:24 millert Exp $"; | 38 | static char *rcsid = "$OpenBSD: radixsort.c,v 1.5 2002/02/17 19:42:24 millert Exp $"; |
39 | #endif /* LIBC_SCCS and not lint */ | 39 | #endif /* LIBC_SCCS and not lint */ |
40 | 40 | ||
41 | /* | 41 | /* |
@@ -63,8 +63,8 @@ typedef struct { | |||
63 | static __inline void simplesort | 63 | static __inline void simplesort |
64 | (const u_char **, int, int, const u_char *, u_int); | 64 | (const u_char **, int, int, const u_char *, u_int); |
65 | static void r_sort_a(const u_char **, int, int, const u_char *, u_int); | 65 | static void r_sort_a(const u_char **, int, int, const u_char *, u_int); |
66 | static void r_sort_b __P((const u_char **, | 66 | static void r_sort_b(const u_char **, |
67 | const u_char **, int, int, const u_char *, u_int)); | 67 | const u_char **, int, int, const u_char *, u_int); |
68 | 68 | ||
69 | #define THRESHOLD 20 /* Divert to simplesort(). */ | 69 | #define THRESHOLD 20 /* Divert to simplesort(). */ |
70 | #define SIZE 512 /* Default stack size. */ | 70 | #define SIZE 512 /* Default stack size. */ |
diff --git a/src/usr.bin/nc/netcat.c b/src/usr.bin/nc/netcat.c index 8caa2483e3..8d5603c999 100644 --- a/src/usr.bin/nc/netcat.c +++ b/src/usr.bin/nc/netcat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: netcat.c,v 1.43 2002/02/17 03:24:56 ericj Exp $ */ | 1 | /* $OpenBSD: netcat.c,v 1.44 2002/02/17 19:42:31 millert Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> | 3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> |
4 | * | 4 | * |
@@ -70,7 +70,7 @@ int timeout; | |||
70 | int family = AF_UNSPEC; | 70 | int family = AF_UNSPEC; |
71 | char *portlist[PORT_MAX]; | 71 | char *portlist[PORT_MAX]; |
72 | 72 | ||
73 | ssize_t atomicio __P((ssize_t (*)(), int, void *, size_t)); | 73 | ssize_t atomicio(ssize_t (*)(), int, void *, size_t); |
74 | void atelnet(int, unsigned char *, unsigned int); | 74 | void atelnet(int, unsigned char *, unsigned int); |
75 | void build_ports(char *); | 75 | void build_ports(char *); |
76 | void help(void); | 76 | void help(void); |