From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Stefan Weil Date: Sat, 17 Dec 2011 09:27:30 +0100 Message-Id: <1324110459-3932-3-git-send-email-sw@weilnetz.de> 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 02/11] 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: qemu-trivial@nongnu.org, Stefan Weil warning: function declaration isn=E2=80=99t a prototype In function =E2=80=98foo=E2=80=99: 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" !=3D "no" ; then cat > $TMPC < #include -void foo() -{ +int main(void) { #if !defined(CLONE_SETTLS) || !defined(FUTEX_WAIT) #error bork #endif + return 0; } EOF =20 --=20 1.7.2.5