From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M7z95-0003BI-DE for qemu-devel@nongnu.org; Sat, 23 May 2009 17:52:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M7z91-00039b-TV for qemu-devel@nongnu.org; Sat, 23 May 2009 17:52:47 -0400 Received: from [199.232.76.173] (port=39098 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7z91-00039W-Pn for qemu-devel@nongnu.org; Sat, 23 May 2009 17:52:43 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:63548) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M7z90-0007Ol-IN for qemu-devel@nongnu.org; Sat, 23 May 2009 17:52:43 -0400 Received: from localhost ([127.0.0.1] ident=stefan) by flocke.weilnetz.de with esmtp (Exim 4.69) (envelope-from ) id 1M7z8y-0005EO-BV for qemu-devel@nongnu.org; Sat, 23 May 2009 23:52:40 +0200 Message-ID: <4A187026.2080700@mail.berlios.de> Date: Sat, 23 May 2009 23:52:38 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: [Qemu-devel] [PATCH] Add static to local machine declaration. Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Variable akitapda_machine is only used locally, so the static attribute avoids a compiler warning. Signed-off-by: Stefan Weil --- hw/spitz.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/spitz.c b/hw/spitz.c index aa1487b..ef0bace 100644 --- a/hw/spitz.c +++ b/hw/spitz.c @@ -1041,7 +1041,7 @@ static void terrier_init(ram_addr_t ram_size, kernel_cmdline, initrd_filename, cpu_model, terrier, 0x33f); } -QEMUMachine akitapda_machine = { +static QEMUMachine akitapda_machine = { .name = "akita", .desc = "Akita PDA (PXA270)", .init = akita_init, -- 1.5.6.5