summaryrefslogtreecommitdiff
path: root/libexec/tcpd/tcpdchk
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /libexec/tcpd/tcpdchk
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
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 'libexec/tcpd/tcpdchk')
-rw-r--r--libexec/tcpd/tcpdchk/inetcf.h8
-rw-r--r--libexec/tcpd/tcpdchk/scaffold.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/libexec/tcpd/tcpdchk/inetcf.h b/libexec/tcpd/tcpdchk/inetcf.h
index c07ef60ecac..05716c3509e 100644
--- a/libexec/tcpd/tcpdchk/inetcf.h
+++ b/libexec/tcpd/tcpdchk/inetcf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: inetcf.h,v 1.1 1997/02/26 06:17:07 downsj Exp $ */
+/* $OpenBSD: inetcf.h,v 1.2 2002/02/16 21:27:31 millert Exp $ */
/*
* @(#) inetcf.h 1.1 94/12/28 17:42:30
@@ -8,9 +8,9 @@
#include <sys/cdefs.h>
-extern char *inet_cfg __P((char *));
-extern void inet_set __P((char *, int));
-extern int inet_get __P((char *));
+extern char *inet_cfg(char *);
+extern void inet_set(char *, int);
+extern int inet_get(char *);
#define WR_UNKNOWN (-1) /* service unknown */
#define WR_NOT 1 /* may not be wrapped */
diff --git a/libexec/tcpd/tcpdchk/scaffold.h b/libexec/tcpd/tcpdchk/scaffold.h
index ca845c11e44..2450d24ca10 100644
--- a/libexec/tcpd/tcpdchk/scaffold.h
+++ b/libexec/tcpd/tcpdchk/scaffold.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scaffold.h,v 1.1 1997/02/26 06:17:08 downsj Exp $ */
+/* $OpenBSD: scaffold.h,v 1.2 2002/02/16 21:27:31 millert Exp $ */
/*
* @(#) scaffold.h 1.3 94/12/31 18:19:19
@@ -9,7 +9,7 @@
#include <sys/cdefs.h>
__BEGIN_DECLS
-extern struct hostent *find_inet_addr __P((char *));
-extern int check_dns __P((char *));
-extern int check_path __P((char *, struct stat *));
+extern struct hostent *find_inet_addr(char *);
+extern int check_dns(char *);
+extern int check_path(char *, struct stat *);
__END_DECLS