diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-26 07:53:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-26 07:53:28 +0000 |
commit | ad3dc5b9f3cf3d2227d56ed40aeb8b203fc362c8 (patch) | |
tree | f6fdc716aeffc9c5c3b1031eac8ea1b41d78b696 /libexec/tcpd/tcpdchk | |
parent | e985c54ca22a1b161106287b8b7494e393cc38eb (diff) |
simple protos
Diffstat (limited to 'libexec/tcpd/tcpdchk')
-rw-r--r-- | libexec/tcpd/tcpdchk/inetcf.c | 8 | ||||
-rw-r--r-- | libexec/tcpd/tcpdchk/tcpdchk.c | 8 |
2 files changed, 7 insertions, 9 deletions
diff --git a/libexec/tcpd/tcpdchk/inetcf.c b/libexec/tcpd/tcpdchk/inetcf.c index 92d3319f18c..ba13ab4ef16 100644 --- a/libexec/tcpd/tcpdchk/inetcf.c +++ b/libexec/tcpd/tcpdchk/inetcf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inetcf.c,v 1.3 2003/04/07 22:56:19 deraadt Exp $ */ +/* $OpenBSD: inetcf.c,v 1.4 2003/06/26 07:53:27 deraadt Exp $ */ /* * Routines to parse an inetd.conf or tlid.conf file. This would be a great @@ -11,7 +11,7 @@ #if 0 static char sccsid[] = "@(#) inetcf.c 1.7 97/02/12 02:13:23"; #else -static char rcsid[] = "$OpenBSD: inetcf.c,v 1.3 2003/04/07 22:56:19 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: inetcf.c,v 1.4 2003/06/26 07:53:27 deraadt Exp $"; #endif #endif @@ -42,8 +42,8 @@ char *inet_files[] = { 0, }; -static void inet_chk(); -static char *base_name(); +static void inet_chk(char *, char *, char *, char *); +static char *base_name(char *); /* * Structure with everything we know about a service. diff --git a/libexec/tcpd/tcpdchk/tcpdchk.c b/libexec/tcpd/tcpdchk/tcpdchk.c index 3e3353d2ba4..01812c10ce1 100644 --- a/libexec/tcpd/tcpdchk/tcpdchk.c +++ b/libexec/tcpd/tcpdchk/tcpdchk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcpdchk.c,v 1.7 2002/07/30 22:27:20 deraadt Exp $ */ +/* $OpenBSD: tcpdchk.c,v 1.8 2003/06/26 07:53:27 deraadt Exp $ */ /* * tcpdchk - examine all tcpd access control rules and inetd.conf entries @@ -20,7 +20,7 @@ #if 0 static char sccsid[] = "@(#) tcpdchk.c 1.8 97/02/12 02:13:25"; #else -static char rcsid[] = "$OpenBSD: tcpdchk.c,v 1.7 2002/07/30 22:27:20 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: tcpdchk.c,v 1.8 2003/06/26 07:53:27 deraadt Exp $"; #endif #endif @@ -97,9 +97,7 @@ static char *myname; static int allow_check; static char *inetcf; -int main(argc, argv) -int argc; -char **argv; +int main(int argc, char *argv[]) { struct request_info request; struct stat st; |