From patchwork Tue Sep 22 23:19:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 34104 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 3F599B7B81 for ; Wed, 23 Sep 2009 09:29:33 +1000 (EST) Received: from localhost ([127.0.0.1]:38342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqEnV-0003Rh-QJ for incoming@patchwork.ozlabs.org; Tue, 22 Sep 2009 19:29:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqEdm-0008HU-61 for qemu-devel@nongnu.org; Tue, 22 Sep 2009 19:19:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqEdh-0008F5-0g for qemu-devel@nongnu.org; Tue, 22 Sep 2009 19:19:21 -0400 Received: from [199.232.76.173] (port=54130 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqEdg-0008Et-Ls for qemu-devel@nongnu.org; Tue, 22 Sep 2009 19:19:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18890) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqEdg-0003Ve-7b for qemu-devel@nongnu.org; Tue, 22 Sep 2009 19:19:16 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8MNJFPL002832 for ; Tue, 22 Sep 2009 19:19:15 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8MNJ6l5028452; Tue, 22 Sep 2009 19:19:14 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 23 Sep 2009 01:19:04 +0200 Message-Id: <83add4094da4dd3ddd50d849623f658e93e482c0.1253661009.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 6/7] Add -Wold-style-declaration -Wold-style-definition to QEMU_CFLAGS X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org ANSI c89 has been with us for a while. Signed-off-by: Juan Quintela --- configure | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 62dccd2..81b9ba8 100755 --- a/configure +++ b/configure @@ -1648,6 +1648,7 @@ if test "$debug" = "no" ; then fi QEMU_CFLAGS="-Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes $QEMU_CFLAGS" QEMU_CFLAGS="-Wstrict-prototypes -Wredundant-decls $QEMU_CFLAGS" +QEMU_CFLAGS="-Wold-style-declaration -Wold-style-definition $QEMU_CFLAGS" QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLAGS" QEMU_CFLAGS="-U_FORTIFY_SOURCE $QEMU_CFLAGS" QEMU_CFLAGS="-I. -I\$(SRC_PATH) -MMD -MP -MT \$@ $QEMU_CFLAGS"