summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kvm_mkdb/testdb.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-26 21:36:39 +0000
committerderaadt <deraadt@openbsd.org>2003-06-26 21:36:39 +0000
commit00da5b9d363a792d336d4c7c9e6af8ba7a8337ec (patch)
treefafeae5157f4a2237c1135f63e2f1cc543ba73a2 /usr.sbin/kvm_mkdb/testdb.c
parenterr() cleanup; andrushock@korovino.net (diff)
downloadwireguard-openbsd-00da5b9d363a792d336d4c7c9e6af8ba7a8337ec.tar.xz
wireguard-openbsd-00da5b9d363a792d336d4c7c9e6af8ba7a8337ec.zip
ansi and protos
Diffstat (limited to 'usr.sbin/kvm_mkdb/testdb.c')
-rw-r--r--usr.sbin/kvm_mkdb/testdb.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/kvm_mkdb/testdb.c b/usr.sbin/kvm_mkdb/testdb.c
index 0d98b47da82..6812308d875 100644
--- a/usr.sbin/kvm_mkdb/testdb.c
+++ b/usr.sbin/kvm_mkdb/testdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: testdb.c,v 1.5 2003/06/02 23:36:53 millert Exp $ */
+/* $OpenBSD: testdb.c,v 1.6 2003/06/26 21:36:39 deraadt Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -33,7 +33,7 @@
#if 0
static char sccsid[] = "from: @(#)testdb.c 8.1 (Berkeley) 6/6/93";
#else
-static char *rcsid = "$OpenBSD: testdb.c,v 1.5 2003/06/02 23:36:53 millert Exp $";
+static char *rcsid = "$OpenBSD: testdb.c,v 1.6 2003/06/26 21:36:39 deraadt Exp $";
#endif
#endif /* not lint */
@@ -52,8 +52,7 @@ static char *rcsid = "$OpenBSD: testdb.c,v 1.5 2003/06/02 23:36:53 millert Exp $
/* Return true if the db file is valid, else false */
int
-testdb(dbname)
- char *dbname;
+testdb(char *dbname)
{
DB *db;
int cc, kd, ret, dbversionlen;