From patchwork Sat Dec 17 08:27:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 131979 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 26FD31007DB for ; Sat, 17 Dec 2011 19:29:15 +1100 (EST) Received: from localhost ([::1]:39080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbpdg-0003vX-5A for incoming@patchwork.ozlabs.org; Sat, 17 Dec 2011 03:29:04 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbpdT-0003oY-5z for qemu-devel@nongnu.org; Sat, 17 Dec 2011 03:28:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbpdS-0006JC-2H for qemu-devel@nongnu.org; Sat, 17 Dec 2011 03:28:51 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:58915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbpdR-0006J5-Ty; Sat, 17 Dec 2011 03:28:50 -0500 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id 646B57282E52; Sat, 17 Dec 2011 09:28:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at weilnetz.de Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2CYX4I4Ty2r9; Sat, 17 Dec 2011 09:28:19 +0100 (CET) Received: by v220110690675601.yourvserver.net (Postfix, from userid 1000) id 2F7BC7282E5C; Sat, 17 Dec 2011 09:27:51 +0100 (CET) From: Stefan Weil To: qemu-devel@nongnu.org Date: Sat, 17 Dec 2011 09:27:30 +0100 Message-Id: <1324110459-3932-3-git-send-email-sw@weilnetz.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1324110459-3932-1-git-send-email-sw@weilnetz.de> References: <1324110459-3932-1-git-send-email-sw@weilnetz.de> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 78.47.199.172 Cc: qemu-trivial@nongnu.org, Stefan Weil Subject: [Qemu-devel] [PATCH 02/11] configure: Fix compiler warnings in config.log (old-style function definition) X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org warning: function declaration isn’t a prototype In function ‘foo’: warning: old-style function definition The function name was changed, too, to avoid an additional warning. Signed-off-by: Stefan Weil --- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 03b8f35..93c6cbe 100755 --- a/configure +++ b/configure @@ -1274,11 +1274,11 @@ if test "$nptl" != "no" ; then cat > $TMPC < #include -void foo() -{ +int main(void) { #if !defined(CLONE_SETTLS) || !defined(FUTEX_WAIT) #error bork #endif + return 0; } EOF