diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2002-07-01 21:56:56 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2002-07-01 21:56:56 +0000 |
commit | 7285dd9c888db176d011e4194a637926e51618b3 (patch) | |
tree | 09d2029a54e83b9323268545d94ed47038b46106 /sys/ddb/db_print.c | |
parent | 120e725e8587366401116a20a0c541752477eaef (diff) |
Don't let variable declarations without "extern" living in .h files.
While there fix a benign type mismatch in db_stack_dump() and remove
diag code left by art by mistake.
Diffstat (limited to 'sys/ddb/db_print.c')
-rw-r--r-- | sys/ddb/db_print.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/ddb/db_print.c b/sys/ddb/db_print.c index 8f4b91863a4..28dc0592283 100644 --- a/sys/ddb/db_print.c +++ b/sys/ddb/db_print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_print.c,v 1.7 2001/11/06 19:53:18 miod Exp $ */ +/* $OpenBSD: db_print.c,v 1.8 2002/07/01 21:56:55 miod Exp $ */ /* $NetBSD: db_print.c,v 1.5 1996/02/05 01:57:11 christos Exp $ */ /* @@ -46,8 +46,6 @@ #include <ddb/db_output.h> #include <ddb/db_extern.h> -extern unsigned int db_maxoff; - /*ARGSUSED*/ void db_show_regs(addr, have_addr, count, modif) |