diff options
author | deraadt <deraadt@openbsd.org> | 2003-06-26 21:36:39 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2003-06-26 21:36:39 +0000 |
commit | 00da5b9d363a792d336d4c7c9e6af8ba7a8337ec (patch) | |
tree | fafeae5157f4a2237c1135f63e2f1cc543ba73a2 /usr.sbin/kvm_mkdb/testdb.c | |
parent | err() cleanup; andrushock@korovino.net (diff) | |
download | wireguard-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.c | 7 |
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; |