diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2000-08-28 22:06:37 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2000-08-28 22:06:37 +0000 |
commit | cf209255f20454c6f0801acc1beb261511afa20b (patch) | |
tree | 5deda0314d3bce59c88fed5450cac88974c9c8d8 /sys | |
parent | 4e93bdeeb6e64894208b5e7dfa613dfc61607989 (diff) |
Prototypes for interrupt handlers should go into .h file, not .c
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sun3/sun3/vector.c | 26 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/vector.h | 23 |
2 files changed, 24 insertions, 25 deletions
diff --git a/sys/arch/sun3/sun3/vector.c b/sys/arch/sun3/sun3/vector.c index 7ade6cc3f0b..5629660a2e3 100644 --- a/sys/arch/sun3/sun3/vector.c +++ b/sys/arch/sun3/sun3/vector.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vector.c,v 1.6 1997/01/16 04:04:35 kstailey Exp $ */ +/* $OpenBSD: vector.c,v 1.7 2000/08/28 22:06:36 miod Exp $ */ /* $NetBSD: vector.c,v 1.15 1996/11/20 18:57:40 gwr Exp $ */ /*- @@ -44,35 +44,13 @@ #include <sys/param.h> #include <sys/systm.h> -#include "vector.h" +#include <sun3/sun3/vector.h> #define BADTRAP16 badtrap, badtrap, badtrap, badtrap, \ badtrap, badtrap, badtrap, badtrap, \ badtrap, badtrap, badtrap, badtrap, \ badtrap, badtrap, badtrap, badtrap -void addrerr __P((void)); -void badtrap __P((void)); -void buserr __P((void)); -void chkinst __P((void)); -void coperr __P((void)); -void fmterr __P((void)); -void fpfline __P((void)); -void fpunsupp __P((void)); -void illinst __P((void)); -void privinst __P((void)); -void trace __P((void)); -void trap0 __P((void)); -void trap1 __P((void)); -void trap12 __P((void)); -void trap15 __P((void)); -void trap2 __P((void)); -void trapvinst __P((void)); -void zerodiv __P((void)); -void fpfault __P((void)); - -void _isr_autovec __P((void)); - #define fpbsun fpfault #define fpdz fpfault #define fpinex fpfault diff --git a/sys/arch/sun3/sun3/vector.h b/sys/arch/sun3/sun3/vector.h index 8370e66e2b3..24efecad59c 100644 --- a/sys/arch/sun3/sun3/vector.h +++ b/sys/arch/sun3/sun3/vector.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vector.h,v 1.5 1997/01/16 04:04:36 kstailey Exp $ */ +/* $OpenBSD: vector.h,v 1.6 2000/08/28 22:06:36 miod Exp $ */ /* $NetBSD: vector.h,v 1.10 1996/11/20 18:57:40 gwr Exp $ */ /*- @@ -43,4 +43,25 @@ extern void (*vector_table[]) __P((void)); +void addrerr __P((void)); void badtrap __P((void)); +void buserr __P((void)); +void chkinst __P((void)); +void coperr __P((void)); +void fmterr __P((void)); +void fpfline __P((void)); +void fpunsupp __P((void)); +void illinst __P((void)); +void privinst __P((void)); +void trace __P((void)); +void trap0 __P((void)); +void trap1 __P((void)); +void trap12 __P((void)); +void trap15 __P((void)); +void trap2 __P((void)); +void trapvinst __P((void)); +void zerodiv __P((void)); +void fpfault __P((void)); + +void _isr_autovec __P((void)); + |