summaryrefslogtreecommitdiff
path: root/usr.sbin/kvm_mkdb/extern.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-08-19 06:47:56 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-08-19 06:47:56 +0000
commitf4fc9566a4d35c0cc2bf8c7f1136287d8eec8c44 (patch)
tree3d571fd1c7c1cb87b7eb6c613b8bb14176923d38 /usr.sbin/kvm_mkdb/extern.h
parent644231079adf9d2b4f6a8afda11b4157f508bfbf (diff)
Make kvm_mkdb work again
o testdb() needs to take as an arg the name of the kernel so it can do the version test correctly. o add undocumented verbose flag to tell when we are rebuilding the .db file o DO_* -> _NLIST_DO_*, this prevented kvm_mkdb from doing anything at all. o preserve a few error messages so you get error output when none of the exec types match the target. o check malloc return values o get_kerntext should not subtract the sizeof(struct exec) from kernel_text
Diffstat (limited to 'usr.sbin/kvm_mkdb/extern.h')
-rw-r--r--usr.sbin/kvm_mkdb/extern.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/kvm_mkdb/extern.h b/usr.sbin/kvm_mkdb/extern.h
index 9a46bb5f9d4..b576ba29499 100644
--- a/usr.sbin/kvm_mkdb/extern.h
+++ b/usr.sbin/kvm_mkdb/extern.h
@@ -31,9 +31,8 @@
* SUCH DAMAGE.
*
* from: @(#)extern.h 8.1 (Berkeley) 6/6/93
- * $OpenBSD: extern.h,v 1.2 1997/01/15 22:08:15 millert Exp $
+ * $OpenBSD: extern.h,v 1.3 1998/08/19 06:47:52 millert Exp $
*/
void create_knlist __P((char *, DB *));
-void error __P((char *));
-int testdb __P(());
+int testdb __P((char *));