Received: from eggs.gnu.org ([208.118.235.92]:49028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwyZK-0001vq-4w for qemu-devel@nongnu.org; Thu, 02 Aug 2012 12:48:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwyZG-0000kp-6G for qemu-devel@nongnu.org; Thu, 02 Aug 2012 12:48:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwyZF-0000kl-UM for qemu-devel@nongnu.org; Thu, 02 Aug 2012 12:48:10 -0400 From: Markus Armbruster References: <1343869374-23417-1-git-send-email-lcapitulino@redhat.com> <1343869374-23417-26-git-send-email-lcapitulino@redhat.com> Date: Thu, 02 Aug 2012 18:48:06 +0200 In-Reply-To: <1343869374-23417-26-git-send-email-lcapitulino@redhat.com> (Luiz Capitulino's message of "Wed, 1 Aug 2012 22:02:45 -0300") Message-ID: <87k3xhtf3t.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 25/34] qerror: qerror_table: don't use C99 struct initializers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: kwolf@redhat.com, aliguori@us.ibm.com, qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com, pbonzini@redhat.com, eblake@redhat.com Luiz Capitulino 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 > --- > 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. [...]