qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Add static to local machine declaration.


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH] Add static to local machine declaration.
Date: Wed, 27 May 2009 21:17:55 +0200
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

Anthony Liguori schrieb:
> Stefan Weil wrote:
>> Variable akitapda_machine is only used locally,
>> so the static attribute avoids a compiler warning.
>>
>> Signed-off-by: Stefan Weil <address@hidden>
>>   
>
> This patch is whitespace broken as is two other patches I have in my
> queue for you.  Could you try using something like git-send-email?
>
> Regards,
>
> Anthony Liguori
>

Sorry, I am still a git-learner...

The appended patch will work.

Regards,

Stefan Weil

>From 3c4e4df0b882fd553aa89616e5d3d08a7eca301c Mon Sep 17 00:00:00 2001
From: Stefan Weil <address@hidden>
Date: Sat, 23 May 2009 23:49:14 +0200
Subject: [PATCH] Add static to local machine declaration.

Variable akitapda_machine is only used locally,
so the static attribute avoids a compiler warning.

Signed-off-by: Stefan Weil <address@hidden>
---
 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]