* [Qemu-devel] [PATCH] Add missing 'static' attribute
@ 2010-05-06 20:17 Stefan Weil
2010-05-07 16:34 ` Blue Swirl
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2010-05-06 20:17 UTC (permalink / raw)
To: QEMU Developers
Function usage() is only used locally.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
tests/qruncom.c | 2 +-
tests/runcom.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/qruncom.c b/tests/qruncom.c
index a8d0ef6..079f7a2 100644
--- a/tests/qruncom.c
+++ b/tests/qruncom.c
@@ -89,7 +89,7 @@ int errno;
#define COM_BASE_ADDR 0x10100
-void usage(void)
+static void usage(void)
{
printf("qruncom version 0.1 (c) 2003 Fabrice Bellard\n"
"usage: qruncom file.com\n"
diff --git a/tests/runcom.c b/tests/runcom.c
index cbbaf31..6380566 100644
--- a/tests/runcom.c
+++ b/tests/runcom.c
@@ -25,7 +25,7 @@ _syscall2(int, vm86, int, func, struct vm86plus_struct *, v86)
#define COM_BASE_ADDR 0x10100
-void usage(void)
+static void usage(void)
{
printf("runcom version 0.1 (c) 2003 Fabrice Bellard\n"
"usage: runcom file.com\n"
--
1.7.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] Add missing 'static' attribute
2010-05-06 20:17 [Qemu-devel] [PATCH] 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.
>
> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
> ---
> tests/qruncom.c | 2 +-
> tests/runcom.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/qruncom.c b/tests/qruncom.c
> index a8d0ef6..079f7a2 100644
> --- a/tests/qruncom.c
> +++ b/tests/qruncom.c
> @@ -89,7 +89,7 @@ int errno;
>
> #define COM_BASE_ADDR 0x10100
>
> -void usage(void)
> +static void usage(void)
> {
> printf("qruncom version 0.1 (c) 2003 Fabrice Bellard\n"
> "usage: qruncom file.com\n"
> diff --git a/tests/runcom.c b/tests/runcom.c
> index cbbaf31..6380566 100644
> --- a/tests/runcom.c
> +++ b/tests/runcom.c
> @@ -25,7 +25,7 @@ _syscall2(int, vm86, int, func, struct vm86plus_struct *, v86)
>
> #define COM_BASE_ADDR 0x10100
>
> -void usage(void)
> +static void usage(void)
> {
> printf("runcom version 0.1 (c) 2003 Fabrice Bellard\n"
> "usage: runcom file.com\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:17 [Qemu-devel] [PATCH] Add missing 'static' attribute Stefan Weil
2010-05-07 16:34 ` Blue Swirl
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.