summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include/db_machdep.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-02-12 22:41:36 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-02-12 22:41:36 +0000
commit9cf25eef3f26dabc6168f9d812f6c0d70c07d94d (patch)
tree58ff2671989533dd49eb4be80a98fe02fad6ed1b /sys/arch/powerpc/include/db_machdep.h
parent21346686bf5ddd8f650fec121ebd08f040ff15c2 (diff)
move ddb_regs decl from .h to .c to avoid common
Diffstat (limited to 'sys/arch/powerpc/include/db_machdep.h')
-rw-r--r--sys/arch/powerpc/include/db_machdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/db_machdep.h b/sys/arch/powerpc/include/db_machdep.h
index 161a7d3d04c..e290e3beaea 100644
--- a/sys/arch/powerpc/include/db_machdep.h
+++ b/sys/arch/powerpc/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.17 2002/08/06 03:33:23 drahn Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.18 2003/02/12 22:41:35 jason Exp $ */
/* $NetBSD: db_machdep.h,v 1.13 1996/04/29 20:50:08 leo Exp $ */
/*
@@ -49,7 +49,7 @@ struct powerpc_saved_state {
struct trapframe tf;
};
typedef struct powerpc_saved_state db_regs_t;
-db_regs_t ddb_regs; /* register state */
+extern db_regs_t ddb_regs; /* register state */
#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((regs)->tf.srr0)