[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 25/34] qerror: qerror_table: don't use C99 struc
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 25/34] qerror: qerror_table: don't use C99 struct initializers |
Date: |
Thu, 02 Aug 2012 18:48:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Luiz Capitulino <address@hidden> writes:
> This allows for changing QERR_ macros to initialize two struct members
> at the same time. See next commit for more details.
>
> Signed-off-by: Luiz Capitulino <address@hidden>
> ---
> qerror.c | 276
> +++++++++++++++++++++++++++++++--------------------------------
> qerror.h | 2 +-
> 2 files changed, 139 insertions(+), 139 deletions(-)
>
> diff --git a/qerror.c b/qerror.c
> index 33b8780..664efb3 100644
> --- a/qerror.c
> +++ b/qerror.c
> @@ -44,285 +44,285 @@ static const QType qerror_type = {
> */
> static const QErrorStringTable qerror_table[] = {
> {
> - .error_fmt = QERR_ADD_CLIENT_FAILED,
> - .desc = "Could not add client",
> + QERR_ADD_CLIENT_FAILED,
> + "Could not add client",
> },
Okay, as qerror_table[] goes away in PATCH 32 anyway.
[...]
- Re: [Qemu-devel] [PATCH 29/34] qmp: switch to the new error format on the wire, (continued)
- [Qemu-devel] [PATCH 32/34] qerror: drop qerror_table and qerror_format(), Luiz Capitulino, 2012/08/01
- [Qemu-devel] [PATCH 27/34] qerror: add proper ErrorClass value for QERR_ macros, Luiz Capitulino, 2012/08/01
- [Qemu-devel] [PATCH 28/34] error: add error_get_class(), Luiz Capitulino, 2012/08/01
- [Qemu-devel] [PATCH 25/34] qerror: qerror_table: don't use C99 struct initializers, Luiz Capitulino, 2012/08/01
- Re: [Qemu-devel] [PATCH 25/34] qerror: qerror_table: don't use C99 struct initializers,
Markus Armbruster <=
- [Qemu-devel] [PATCH 34/34] error, qerror: drop QDict member, Luiz Capitulino, 2012/08/01
- [Qemu-devel] [PATCH 26/34] error, qerror: add ErrorClass argument to error functions, Luiz Capitulino, 2012/08/01
- [Qemu-devel] [PATCH 33/34] error: drop error_get_qobject()/error_set_qobject(), Luiz Capitulino, 2012/08/01
- [Qemu-devel] [PATCH 24/34] qapi-schema: add ErrorClass enum, Luiz Capitulino, 2012/08/01
- [Qemu-devel] [PATCH 31/34] error, qerror: pass desc string to error calls, Luiz Capitulino, 2012/08/01
- Re: [Qemu-devel] [PATCH v1 00/34]: add new error format, Luiz Capitulino, 2012/08/02
- Re: [Qemu-devel] [PATCH v1 00/34]: add new error format, Markus Armbruster, 2012/08/02