projects/linux·commit d96c4e7b

[PATCH] x86: hw_irq.h warning fix

d96c4e7b · Andrew Morton <[email protected]> · 2005-09-30 11:58:57 -07:00

include/asm/hw_irq.h:70: warning: `struct hw_interrupt_type' declared inside parameter list
include/asm/hw_irq.h:70: warning: its scope is only this definition or declaration, which is probably not what you want

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
d96c4e7bb039ae16c9b7e6809feb4fcfc45fcc87
Parents
353fb07e

Changes

1 files changed · +2 −0

FileStatusAddDelContent
include/asm-i386/hw_irq.hmodified+2−0View file

include/asm-i386/hw_irq.h

View file
diff --git a/include/asm-i386/hw_irq.h b/include/asm-i386/hw_irq.h
index 4ac84cc..622815b 100644
--- a/include/asm-i386/hw_irq.h
+++ b/include/asm-i386/hw_irq.h
@@ -18,6 +18,8 @@
#include <asm/irq.h>
#include <asm/sections.h>
+struct hw_interrupt_type;
+
/*
* Various low-level irq details needed by irq.c, process.c,
* time.c, io_apic.c and smp.c