From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvlA5-0003QV-9u for mharc-grub-devel@gnu.org; Fri, 23 Nov 2007 21:54:29 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ivl8r-0002F0-U1 for grub-devel@gnu.org; Fri, 23 Nov 2007 21:53:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ivl8n-00027M-2z for grub-devel@gnu.org; Fri, 23 Nov 2007 21:53:13 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ivl8m-00027A-Vl for grub-devel@gnu.org; Fri, 23 Nov 2007 21:53:09 -0500 Received: from c60.cesmail.net ([216.154.195.49]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1Ivl8m-00007D-Ke for grub-devel@gnu.org; Fri, 23 Nov 2007 21:53:08 -0500 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 23 Nov 2007 21:53:07 -0500 Received: from [192.168.1.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 5ED1C618FE1 for ; Fri, 23 Nov 2007 21:53:07 -0500 (EST) From: Pavel Roskin To: The development of GRUB 2 Content-Type: text/plain Date: Fri, 23 Nov 2007 21:53:06 -0500 Message-Id: <1195872786.7449.2.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 (2.12.1-3.fc8) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Fri, 23 Nov 2007 21:54:27 -0500 Subject: [PATCH] Fix grub_cpu_idle() declaration X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 02:53:14 -0000 ChangeLog: * include/grub/i386/time.h: use "void" in the argument list of grub_cpu_idle(). * include/grub/powerpc/time.h: Likewise. * include/grub/sparc64/time.h: Likewise. Index: include/grub/i386/time.h =================================================================== RCS file: /cvsroot/grub/grub2/include/grub/i386/time.h,v retrieving revision 1.2 diff -u -p -r1.2 time.h --- include/grub/i386/time.h 5 Nov 2007 14:54:00 -0000 1.2 +++ include/grub/i386/time.h 24 Nov 2007 02:34:37 -0000 @@ -20,7 +20,7 @@ #define KERNEL_CPU_TIME_HEADER 1 static __inline void -grub_cpu_idle () +grub_cpu_idle (void) { /* FIXME: this can't work untill we handle interrupts. */ /* __asm__ __volatile__ ("hlt"); */ Index: include/grub/powerpc/time.h =================================================================== RCS file: /cvsroot/grub/grub2/include/grub/powerpc/time.h,v retrieving revision 1.1 diff -u -p -r1.1 time.h --- include/grub/powerpc/time.h 22 Oct 2007 20:02:16 -0000 1.1 +++ include/grub/powerpc/time.h 24 Nov 2007 02:34:37 -0000 @@ -20,7 +20,7 @@ #define KERNEL_CPU_TIME_HEADER 1 static __inline void -grub_cpu_idle () +grub_cpu_idle (void) { /* FIXME: not implemented */ } Index: include/grub/sparc64/time.h =================================================================== RCS file: /cvsroot/grub/grub2/include/grub/sparc64/time.h,v retrieving revision 1.1 diff -u -p -r1.1 time.h --- include/grub/sparc64/time.h 22 Oct 2007 20:02:16 -0000 1.1 +++ include/grub/sparc64/time.h 24 Nov 2007 02:34:37 -0000 @@ -20,7 +20,7 @@ #define KERNEL_CPU_TIME_HEADER 1 static __inline void -grub_cpu_idle () +grub_cpu_idle (void) { /* FIXME: not implemented */ } -- Regards, Pavel Roskin