From fedf1d0f26d704aef04e9e45d5fb57ddb8eab642 Mon Sep 17 00:00:00 2001 From: dogcow Date: Mon, 15 May 2006 20:57:53 +0000 Subject: [PATCH] For whatever reason, GCC4 really really wants extern struct decls to be after the struct is defined. --- sys/arch/xen/include/intr.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/arch/xen/include/intr.h b/sys/arch/xen/include/intr.h index 40ba90d99802..a0e4d73a70d4 100644 --- a/sys/arch/xen/include/intr.h +++ b/sys/arch/xen/include/intr.h @@ -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 */ /*- @@ -48,11 +48,6 @@ #include "opt_xen.h" -#ifdef XEN3 -/* for x86 compatibility */ -extern struct intrstub i8259_stubs[]; -#endif - /* * Struct describing an event channel. */ @@ -79,6 +74,11 @@ struct intrstub { void *ist_resume; }; +#ifdef XEN3 +/* for x86 compatibility */ +extern struct intrstub i8259_stubs[]; +#endif + struct iplsource { struct intrhand *ipl_handlers; /* handler chain */ void *ipl_recurse; /* entry for spllower */