summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kvm_mkdb
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
committermillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
commitc72b5b24e14c03dd8b22104fbae0d3921fa2aa37 (patch)
tree1ac67aab11df5f96856c0e3015d691db7dc9e811 /usr.sbin/kvm_mkdb
parentdefault to rsa keyfile path for non key generation operations where (diff)
downloadwireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.tar.xz
wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.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 'usr.sbin/kvm_mkdb')
-rw-r--r--usr.sbin/kvm_mkdb/extern.h6
-rw-r--r--usr.sbin/kvm_mkdb/kvm_mkdb.c8
-rw-r--r--usr.sbin/kvm_mkdb/nlist.c8
3 files changed, 11 insertions, 11 deletions
diff --git a/usr.sbin/kvm_mkdb/extern.h b/usr.sbin/kvm_mkdb/extern.h
index 2e8b6069771..e4b08f23dfc 100644
--- a/usr.sbin/kvm_mkdb/extern.h
+++ b/usr.sbin/kvm_mkdb/extern.h
@@ -31,8 +31,8 @@
* SUCH DAMAGE.
*
* from: @(#)extern.h 8.1 (Berkeley) 6/6/93
- * $OpenBSD: extern.h,v 1.5 1998/08/23 00:57:12 millert Exp $
+ * $OpenBSD: extern.h,v 1.6 2002/02/16 21:28:03 millert Exp $
*/
-int create_knlist __P((char *, int, DB *));
-int testdb __P((char *));
+int create_knlist(char *, int, DB *);
+int testdb(char *);
diff --git a/usr.sbin/kvm_mkdb/kvm_mkdb.c b/usr.sbin/kvm_mkdb/kvm_mkdb.c
index 33de5885c49..350dc7aa0f4 100644
--- a/usr.sbin/kvm_mkdb/kvm_mkdb.c
+++ b/usr.sbin/kvm_mkdb/kvm_mkdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_mkdb.c,v 1.10 1999/04/18 17:11:11 espie Exp $ */
+/* $OpenBSD: kvm_mkdb.c,v 1.11 2002/02/16 21:28:03 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "from: @(#)kvm_mkdb.c 8.3 (Berkeley) 5/4/95";
#else
-static char *rcsid = "$OpenBSD: kvm_mkdb.c,v 1.10 1999/04/18 17:11:11 espie Exp $";
+static char *rcsid = "$OpenBSD: kvm_mkdb.c,v 1.11 2002/02/16 21:28:03 millert Exp $";
#endif
#endif /* not lint */
@@ -67,8 +67,8 @@ static char *rcsid = "$OpenBSD: kvm_mkdb.c,v 1.10 1999/04/18 17:11:11 espie Exp
#include "extern.h"
-void usage __P((void));
-int kvm_mkdb __P((int, char *, char *, int));
+void usage(void);
+int kvm_mkdb(int, char *, char *, int);
HASHINFO openinfo = {
4096, /* bsize */
diff --git a/usr.sbin/kvm_mkdb/nlist.c b/usr.sbin/kvm_mkdb/nlist.c
index d084523d169..85d6106e3d6 100644
--- a/usr.sbin/kvm_mkdb/nlist.c
+++ b/usr.sbin/kvm_mkdb/nlist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nlist.c,v 1.22 2001/05/11 13:08:09 art Exp $ */
+/* $OpenBSD: nlist.c,v 1.23 2002/02/16 21:28:03 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "from: @(#)nlist.c 8.1 (Berkeley) 6/6/93";
#else
-static char *rcsid = "$OpenBSD: nlist.c,v 1.22 2001/05/11 13:08:09 art Exp $";
+static char *rcsid = "$OpenBSD: nlist.c,v 1.23 2002/02/16 21:28:03 millert Exp $";
#endif
#endif /* not lint */
@@ -79,7 +79,7 @@ static char *fmterr;
#if defined(_NLIST_DO_AOUT)
-static u_long get_kerntext __P((char *kfn, u_int magic));
+static u_long get_kerntext(char *kfn, u_int magic);
int
__aout_knlist(fd, db)
@@ -626,7 +626,7 @@ out:
#endif /* _NLIST_DO_ECOFF */
static struct knlist_handlers {
- int (*fn) __P((int fd, DB *db));
+ int (*fn)(int fd, DB *db);
} nlist_fn[] = {
#ifdef _NLIST_DO_AOUT
{ __aout_knlist },