aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-10-15 07:45:40 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2012-10-19 10:38:53 +0200
commitabab1a0f32e44cb4e6c317e24d1705f182b88cd0 (patch)
tree7345f32afb241745965e10e6eb68cff4aff6c495 /configure
parent02c7ac0c0f00ce7fb259a0d68c2590a09adb73f4 (diff)
downloadqemu-abab1a0f32e44cb4e6c317e24d1705f182b88cd0.zip
qemu-abab1a0f32e44cb4e6c317e24d1705f182b88cd0.tar.gz
qemu-abab1a0f32e44cb4e6c317e24d1705f182b88cd0.tar.bz2
configure: Remove unused parameters from main function
This modification is required if compiler option -Wunused-parameter is activated. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 353d788..499ad81 100755
--- a/configure
+++ b/configure
@@ -1323,7 +1323,7 @@ if test -z "$cross_prefix" ; then
# big/little endian test
cat > $TMPC << EOF
#include <inttypes.h>
-int main(int argc, char ** argv){
+int main(void) {
volatile uint32_t i=0x01234567;
return (*((uint8_t*)(&i))) == 0x67;
}
@@ -2896,7 +2896,7 @@ static int sfaa(int *ptr)
return __sync_fetch_and_and(ptr, 0);
}
-int main(int argc, char **argv)
+int main(void)
{
int val = 42;
sfaa(&val);