diff options
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r-- | sys/arch/sparc64/include/cpu.h | 6 | ||||
-rw-r--r-- | sys/arch/sparc64/include/db_machdep.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sparc64/include/cpu.h b/sys/arch/sparc64/include/cpu.h index df075e0ce2d..c2afaecc8d6 100644 --- a/sys/arch/sparc64/include/cpu.h +++ b/sys/arch/sparc64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.16 2003/02/10 10:47:58 jason Exp $ */ +/* $OpenBSD: cpu.h,v 1.17 2003/02/12 06:32:59 jason Exp $ */ /* $NetBSD: cpu.h,v 1.28 2001/06/14 22:56:58 thorpej Exp $ */ /* @@ -203,13 +203,13 @@ void setsoftint(void); void setsoftnet(void); #endif -int want_ast; +extern int want_ast; /* * Preempt the current process if in interrupt from user mode, * or after the current trap/syscall if in system mode. */ -int want_resched; /* resched() was called */ +extern int want_resched; /* resched() was called */ #define need_resched() (want_resched = 1, want_ast = 1) /* diff --git a/sys/arch/sparc64/include/db_machdep.h b/sys/arch/sparc64/include/db_machdep.h index 1d9e84106e8..7fd7b4fab77 100644 --- a/sys/arch/sparc64/include/db_machdep.h +++ b/sys/arch/sparc64/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.7 2002/06/15 17:23:31 art Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.8 2003/02/12 06:32:59 jason Exp $ */ /* $NetBSD: db_machdep.h,v 1.12 2001/07/07 15:16:13 eeh Exp $ */ /* @@ -80,7 +80,7 @@ typedef struct db_regs { } db_regs_t; #endif -db_regs_t ddb_regs; /* register state */ +extern db_regs_t ddb_regs; /* register state */ #define DDB_REGS (&ddb_regs) #define DDB_TF (&ddb_regs.ddb_tf) #define DDB_FR (&ddb_regs.ddb_fr) |