Skip to contentSkip to conversation

i386: include asm/bugs.h in bugs.c for check_bugs prototype

PATCH New Josh Triplett 1 participant 1 message Jul 20, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386: include asm/bugs.h in bugs.c for check_bugs prototype

C files should include the header files that prototype their functions.

Eliminates a sparse warning:
warning: symbol 'check_bugs' was not declared. Should it be static?

---
 arch/i386/kernel/cpu/bugs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/i386/kernel/cpu/bugs.c +1 -0
index 54428a2..59266f0 100644
@@ -11,6 +11,7 @@
  */
 #include <linux/init.h>
 #include <linux/utsname.h>
+#include <asm/bugs.h>
 #include <asm/processor.h>
 #include <asm/i387.h>
 #include <asm/msr.h>
Signature · 1 line
1.5.2.1