From: Blue Swirl <blauwirbel@gmail.com>
To: Stefan Weil <weil@mail.berlios.de>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] Add missing 'static' attribute
Date: Fri, 7 May 2010 19:34:26 +0300 [thread overview]
Message-ID: <u2yf43fc5581005070934u300f43bao8ca836cbe4126df1@mail.gmail.com> (raw)
In-Reply-To: <1273177074-22395-1-git-send-email-weil@mail.berlios.de>
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
>
>
>
>
prev parent reply other threads:[~2010-05-07 16:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-06 20:17 [Qemu-devel] [PATCH] Add missing 'static' attribute Stefan Weil
2010-05-07 16:34 ` Blue Swirl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u2yf43fc5581005070934u300f43bao8ca836cbe4126df1@mail.gmail.com \
--to=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=weil@mail.berlios.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).