qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] darwin-user: Add missing static attribute
@ 2010-05-06 20:19 Stefan Weil
  2010-05-07 16:34 ` Blue Swirl
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2010-05-06 20:19 UTC (permalink / raw)
  To: QEMU Developers

Function usage is only used locally, so add "static".

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 darwin-user/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/darwin-user/main.c b/darwin-user/main.c
index ade7d48..175e12f 100644
--- a/darwin-user/main.c
+++ b/darwin-user/main.c
@@ -704,7 +704,7 @@ void cpu_loop(CPUX86State *env)
 }
 #endif
 
-void usage(void)
+static void usage(void)
 {
     printf("qemu-" TARGET_ARCH " version " QEMU_VERSION ", Copyright (c) 2003-2004 Fabrice Bellard\n"
            "usage: qemu-" TARGET_ARCH " [-h] [-d opts] [-L path] [-s size] program [arguments...]\n"
-- 
1.7.0

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

* Re: [Qemu-devel] [PATCH] darwin-user: Add missing static attribute
  2010-05-06 20:19 [Qemu-devel] [PATCH] darwin-user: Add missing static attribute Stefan Weil
@ 2010-05-07 16:34 ` Blue Swirl
  0 siblings, 0 replies; 2+ messages in thread
From: Blue Swirl @ 2010-05-07 16:34 UTC (permalink / raw)
  To: Stefan Weil; +Cc: QEMU Developers

Thanks, applied.

On 5/6/10, Stefan Weil <weil@mail.berlios.de> wrote:
> Function usage is only used locally, so add "static".
>
>  Signed-off-by: Stefan Weil <weil@mail.berlios.de>
>  ---
>   darwin-user/main.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
>  diff --git a/darwin-user/main.c b/darwin-user/main.c
>  index ade7d48..175e12f 100644
>  --- a/darwin-user/main.c
>  +++ b/darwin-user/main.c
>  @@ -704,7 +704,7 @@ void cpu_loop(CPUX86State *env)
>   }
>   #endif
>
>  -void usage(void)
>  +static void usage(void)
>   {
>      printf("qemu-" TARGET_ARCH " version " QEMU_VERSION ", Copyright (c) 2003-2004 Fabrice Bellard\n"
>             "usage: qemu-" TARGET_ARCH " [-h] [-d opts] [-L path] [-s size] program [arguments...]\n"
>
> --
>  1.7.0
>
>
>
>

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

end of thread, other threads:[~2010-05-07 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 20:19 [Qemu-devel] [PATCH] darwin-user: Add missing static attribute Stefan Weil
2010-05-07 16:34 ` Blue Swirl

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).