Message ID | 1324110459-3932-3-git-send-email-sw@weilnetz.de |
---|---|
State | Accepted |
Headers | show |
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 <<EOF #include <sched.h> #include <linux/futex.h> -void foo() -{ +int main(void) { #if !defined(CLONE_SETTLS) || !defined(FUTEX_WAIT) #error bork #endif + return 0; } EOF
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 <sw@weilnetz.de> --- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)