From: Markus Armbruster <armbru@redhat.com>
To: Jes.Sorensen@redhat.com
Cc: kwolf@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Add documentation for STRTOSZ_DEFSUFFIX_ macros
Date: Wed, 26 Jan 2011 12:53:15 +0100 [thread overview]
Message-ID: <m38vy7285w.fsf@blackfin.pond.sub.org> (raw)
In-Reply-To: <1296039298-18022-1-git-send-email-Jes.Sorensen@redhat.com> (Jes Sorensen's message of "Wed, 26 Jan 2011 11:54:58 +0100")
Jes.Sorensen@redhat.com writes:
> From: Jes Sorensen <Jes.Sorensen@redhat.com>
>
> Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
> ---
> qemu-common.h | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/qemu-common.h b/qemu-common.h
> index c766b99..505e576 100644
> --- a/qemu-common.h
> +++ b/qemu-common.h
> @@ -153,6 +153,13 @@ int qemu_fls(int i);
> int qemu_fdatasync(int fd);
> int fcntl_setfl(int fd, int flag);
>
> +/*
> + * strtosz() suffixes used to specify the default treatment of an
> + * argument passed to strtosz() without an explicit suffix.
> + * These should be defined using upper case characters in the range
> + * A-Z, as strtosz() will use qemu_toupper() on the given argument
> + * prior to comparison.
> + */
> #define STRTOSZ_DEFSUFFIX_TB 'T'
> #define STRTOSZ_DEFSUFFIX_GB 'G'
> #define STRTOSZ_DEFSUFFIX_MB 'M'
Thanks, Jes!
Acked-by: Markus Armbruster <armbru@redhat.com>
next prev parent reply other threads:[~2011-01-26 11:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-26 10:54 [Qemu-devel] [PATCH] Add documentation for STRTOSZ_DEFSUFFIX_ macros Jes.Sorensen
2011-01-26 11:53 ` Markus Armbruster [this message]
2011-01-26 11:57 ` Kevin Wolf
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=m38vy7285w.fsf@blackfin.pond.sub.org \
--to=armbru@redhat.com \
--cc=Jes.Sorensen@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
/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 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.