Skip to contentSkip to conversation

arch/i386/kernel/apic.c Kill a sparse warning

PATCH New Peter Hagervall 1 participant 1 message Feb 1, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/i386/kernel/apic.c Kill a sparse warning

The following patch replaces a K&R-style function definition with its ANSI counterpart.

arch/i386/kernel/apic.c +1 -2
diff -u linux-bk/arch/i386/kernel/apic.c linux/arch/i386/kernel/apic.c
@@ -518,8 +518,7 @@
  * disable it down before re-entering the BIOS on shutdown.
  * Otherwise the BIOS may get confused and not power-off.
  */
-void
-lapic_shutdown()
+void lapic_shutdown(void)
 {
 	if (!cpu_has_apic || !enabled_via_apicbase)
 		return;
Signature · 3 lines
Peter Hagervall......................email: [email protected]
Department of Computing Science........tel: +46(0)90 786 7018
University of Umeå, SE-901 87 Umeå.....fax: +46(0)90 786 6126