diff options
author | millert <> | 2002-02-16 21:27:50 +0000 |
---|---|---|
committer | millert <> | 2002-02-16 21:27:50 +0000 |
commit | 052e020be6be85be6238c44b8386a61f8db7b6a4 (patch) | |
tree | 4cf8f905bd37027527533678516a258fa89e2696 /src/usr.bin | |
parent | ee0af55ed65515812050f3b9a8d431c941b73eb8 (diff) | |
download | openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.gz openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.bz2 openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.zip |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'src/usr.bin')
-rw-r--r-- | src/usr.bin/nc/netcat.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/usr.bin/nc/netcat.c b/src/usr.bin/nc/netcat.c index 0652c4c0b7..a8e53fd500 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.39 2001/10/28 19:52:04 jakob Exp $ */ | 1 | /* $OpenBSD: netcat.c,v 1.40 2002/02/16 21:27:50 millert Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> | 3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> |
4 | * | 4 | * |
@@ -69,14 +69,14 @@ int family = AF_UNSPEC; | |||
69 | char *portlist[PORT_MAX]; | 69 | char *portlist[PORT_MAX]; |
70 | 70 | ||
71 | ssize_t atomicio __P((ssize_t (*)(), int, void *, size_t)); | 71 | ssize_t atomicio __P((ssize_t (*)(), int, void *, size_t)); |
72 | void atelnet __P((int, unsigned char *, unsigned int)); | 72 | void atelnet(int, unsigned char *, unsigned int); |
73 | void build_ports __P((char *)); | 73 | void build_ports(char *); |
74 | void help __P((void)); | 74 | void help(void); |
75 | int local_listen __P((char *, char *, struct addrinfo)); | 75 | int local_listen(char *, char *, struct addrinfo); |
76 | void readwrite __P((int)); | 76 | void readwrite(int); |
77 | int remote_connect __P((char *, char *, struct addrinfo)); | 77 | int remote_connect(char *, char *, struct addrinfo); |
78 | int udptest __P((int)); | 78 | int udptest(int); |
79 | void usage __P((int)); | 79 | void usage(int); |
80 | 80 | ||
81 | int | 81 | int |
82 | main(int argc, char *argv[]) | 82 | main(int argc, char *argv[]) |