qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Add static to local machine declaration.
@ 2009-05-23 21:52 Stefan Weil
  2009-05-27 14:39 ` Anthony Liguori
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Weil @ 2009-05-23 21:52 UTC (permalink / raw)
  To: QEMU Developers

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

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] Add static to local machine declaration.
  2009-05-23 21:52 [Qemu-devel] [PATCH] Add static to local machine declaration Stefan Weil
@ 2009-05-27 14:39 ` Anthony Liguori
  2009-05-27 19:17   ` Stefan Weil
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony Liguori @ 2009-05-27 14:39 UTC (permalink / raw)
  To: Stefan Weil; +Cc: QEMU Developers

Stefan Weil wrote:
> Variable akitapda_machine is only used locally,
> so the static attribute avoids a compiler warning.
>
> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
>   

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] Add static to local machine declaration.
  2009-05-27 14:39 ` Anthony Liguori
@ 2009-05-27 19:17   ` Stefan Weil
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Weil @ 2009-05-27 19:17 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: QEMU Developers

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

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 <weil@mail.berlios.de>
>>   
>
> 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


[-- Attachment #2: 0001-Add-static-to-local-machine-declaration.patch --]
[-- Type: text/x-diff, Size: 859 bytes --]

>From 3c4e4df0b882fd553aa89616e5d3d08a7eca301c Mon Sep 17 00:00:00 2001
From: Stefan Weil <weil@mail.berlios.de>
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 <weil@mail.berlios.de>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-27 19:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-23 21:52 [Qemu-devel] [PATCH] Add static to local machine declaration Stefan Weil
2009-05-27 14:39 ` Anthony Liguori
2009-05-27 19:17   ` Stefan Weil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).