diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-07-09 02:56:10 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-07-09 02:56:10 +0000 |
commit | 3e7842b4de7a9a67da9269417ec0744af9f5b7e4 (patch) | |
tree | ce6e84d57afee7b5699571ff7befd2ee674d5779 /sys/arch/powerpc/pci | |
parent | b46958f87904f8c554fa8a42f774390ed36d62ca (diff) |
protos and spaces
Diffstat (limited to 'sys/arch/powerpc/pci')
-rw-r--r-- | sys/arch/powerpc/pci/macobio.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/arch/powerpc/pci/macobio.c b/sys/arch/powerpc/pci/macobio.c index 713c5b0ce64..56fda5f66f4 100644 --- a/sys/arch/powerpc/pci/macobio.c +++ b/sys/arch/powerpc/pci/macobio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macobio.c,v 1.15 2001/07/04 08:38:52 niklas Exp $ */ +/* $OpenBSD: macobio.c,v 1.16 2001/07/09 02:56:09 mickey Exp $ */ /* $NetBSD: obio.c,v 1.6 1999/05/01 10:36:08 tsubai Exp $ */ /*- @@ -46,9 +46,12 @@ #include <machine/bus.h> #include <machine/autoconf.h> -static void macobio_attach __P((struct device *, struct device *, void *)); -static int macobio_match __P((struct device *, void *, void *)); -static int macobio_print __P((void *, const char *)); +void macobio_attach __P((struct device *, struct device *, void *)); +int macobio_match __P((struct device *, void *, void *)); +int macobio_print __P((void *, const char *)); +void *undef_mac_establish __P((void * lcv, int irq, int type, int level, + int (*ih_fun) __P((void *)), void *ih_arg, char *name)); +void mac_intr_disestab __P((void *lcp, void *arg)); struct macobio_softc { struct device sc_dev; @@ -160,7 +163,7 @@ macobio_attach(parent, self, aux) printf("\n"); /* - * This might be a hack, but it makes the interrupt controller + * This might be a hack, but it makes the interrupt controller * attach as expected if a device node existed in the OF tree. */ if (need_interrupt_controller) { @@ -235,6 +238,7 @@ undef_mac_establish(lcv, irq, type, level, ih_fun, ih_arg, name) printf("mac_intr_establish called, not yet inited\n"); return 0; } + void mac_intr_disestab(lcp, arg) void *lcp; |