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 <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
75cafad74d
commit
182eacc0fd
4
configure
vendored
4
configure
vendored
@ -1274,11 +1274,11 @@ if test "$nptl" != "no" ; then
|
|||||||
cat > $TMPC <<EOF
|
cat > $TMPC <<EOF
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
#include <linux/futex.h>
|
#include <linux/futex.h>
|
||||||
void foo()
|
int main(void) {
|
||||||
{
|
|
||||||
#if !defined(CLONE_SETTLS) || !defined(FUTEX_WAIT)
|
#if !defined(CLONE_SETTLS) || !defined(FUTEX_WAIT)
|
||||||
#error bork
|
#error bork
|
||||||
#endif
|
#endif
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user