From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcbB3-0002ru-TC for qemu-devel@nongnu.org; Mon, 19 Dec 2011 06:14:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcbAw-0002Tl-RB for qemu-devel@nongnu.org; Mon, 19 Dec 2011 06:14:41 -0500 Received: from e06smtp18.uk.ibm.com ([195.75.94.114]:41230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcbAw-0002TL-It for qemu-devel@nongnu.org; Mon, 19 Dec 2011 06:14:34 -0500 Received: from /spool/local by e06smtp18.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 19 Dec 2011 11:14:29 -0000 Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pBJBDs61958630 for ; Mon, 19 Dec 2011 11:13:54 GMT Received: from d06av05.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pBJBDs4t024587 for ; Mon, 19 Dec 2011 04:13:54 -0700 From: Stefan Hajnoczi Date: Mon, 19 Dec 2011 11:12:29 +0000 Message-Id: <1324293158-25433-9-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1324293158-25433-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1324293158-25433-1-git-send-email-stefanha@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 08/17] configure: Fix compiler warnings in config.log (old-style function definition) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Weil , Anthony Liguori , Stefan Hajnoczi From: Stefan Weil 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 Signed-off-by: Stefan Hajnoczi --- 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 -- 1.7.7.3