From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54505 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pi3wK-0008Cl-Gs for qemu-devel@nongnu.org; Wed, 26 Jan 2011 06:53:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pi3wH-000472-Ta for qemu-devel@nongnu.org; Wed, 26 Jan 2011 06:53:32 -0500 Received: from mx1.redhat.com ([209.132.183.28]:22234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pi3wH-00046e-IE for qemu-devel@nongnu.org; Wed, 26 Jan 2011 06:53:29 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0QBrRWu019058 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 26 Jan 2011 06:53:27 -0500 From: Markus Armbruster Subject: Re: [Qemu-devel] [PATCH] Add documentation for STRTOSZ_DEFSUFFIX_ macros References: <1296039298-18022-1-git-send-email-Jes.Sorensen@redhat.com> Date: Wed, 26 Jan 2011 12:53:15 +0100 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") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jes.Sorensen@redhat.com Cc: kwolf@redhat.com, qemu-devel@nongnu.org Jes.Sorensen@redhat.com writes: > From: Jes Sorensen > > Signed-off-by: Jes Sorensen > --- > 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