For whatever reason, GCC4 really really wants extern struct decls to be
after the struct is defined.
This commit is contained in:
parent
243ae1c185
commit
fedf1d0f26
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: intr.h,v 1.10 2006/04/09 19:28:01 bouyer Exp $ */
|
/* $NetBSD: intr.h,v 1.11 2006/05/15 20:57:53 dogcow Exp $ */
|
||||||
/* NetBSD intr.h,v 1.15 2004/10/31 10:39:34 yamt Exp */
|
/* NetBSD intr.h,v 1.15 2004/10/31 10:39:34 yamt Exp */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
@ -48,11 +48,6 @@
|
|||||||
|
|
||||||
#include "opt_xen.h"
|
#include "opt_xen.h"
|
||||||
|
|
||||||
#ifdef XEN3
|
|
||||||
/* for x86 compatibility */
|
|
||||||
extern struct intrstub i8259_stubs[];
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Struct describing an event channel.
|
* Struct describing an event channel.
|
||||||
*/
|
*/
|
||||||
@ -79,6 +74,11 @@ struct intrstub {
|
|||||||
void *ist_resume;
|
void *ist_resume;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef XEN3
|
||||||
|
/* for x86 compatibility */
|
||||||
|
extern struct intrstub i8259_stubs[];
|
||||||
|
#endif
|
||||||
|
|
||||||
struct iplsource {
|
struct iplsource {
|
||||||
struct intrhand *ipl_handlers; /* handler chain */
|
struct intrhand *ipl_handlers; /* handler chain */
|
||||||
void *ipl_recurse; /* entry for spllower */
|
void *ipl_recurse; /* entry for spllower */
|
||||||
|
Loading…
Reference in New Issue
Block a user