mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arch/i386/kernel/apic.c Kill a sparse warning
@ 2005-02-01 16:10 Peter Hagervall
  0 siblings, 0 replies; only message in thread
From: Peter Hagervall @ 2005-02-01 16:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds

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


diff -u linux-bk/arch/i386/kernel/apic.c linux/arch/i386/kernel/apic.c
--- linux-bk/arch/i386/kernel/apic.c	2005-01-29 03:14:14.000000000 +0100
+++ linux/arch/i386/kernel/apic.c	2005-01-29 03:16:35.000000000 +0100
@@ -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;


-- 
Peter Hagervall......................email: hager@cs.umu.se
Department of Computing Science........tel: +46(0)90 786 7018
University of Umeå, SE-901 87 Umeå.....fax: +46(0)90 786 6126

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-01 16:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-01 16:10 [PATCH] arch/i386/kernel/apic.c Kill a sparse warning Peter Hagervall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®