From: Stefan Weil Date: Sat, 17 Dec 2011 08:27:30 +0000 (+0100) Subject: configure: Fix compiler warnings in config.log (old-style function definition) X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=182eacc0fdd860ac60fa6fcf40429caa15e8328a;p=qemu.git configure: Fix compiler warnings in config.log (old-style function definition) 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 --- diff --git a/configure b/configure index 03b8f35748..93c6cbec30 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