kvm: testsuite: silence warnings on x86_64
commit9e849f513694ce4cb1a7ea2e13775aa6669c0230
authorBernhard Kaindl <bk@suse.de>
Thu, 24 Jan 2008 17:43:26 +0000 (24 18:43 +0100)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Jan 2008 07:14:24 +0000 (27 09:14 +0200)
tree0d6d77b0aa51890fc5bf8d5cd78b449b27facdc6
parent38b00477cbe2a791ff35afe48c7b51f4b00dca79
kvm: testsuite: silence warnings on x86_64

This patch fixes user/test/x86/emulator.flat on kvm-59 with x86_64/E6850
and three other warnings:

test/x86/access.c: In function 'ac_test_exec':
test/x86/access.c:541: warning: implicit declaration of function 'strcat'

test/x86/emulator.c: In function 'test_cmps':
test/x86/emulator.c:26: warning: unused variable 'i'
test/x86/emulator.c: In function 'test_push':
test/x86/emulator.c:115: warning: 'tmp' is used uninitialized in this function

test/x86/lib/printf.c: In function 'vsnprintf':
test/x86/lib/printf.c:95: warning: unused variable 'n'

Signed-off-by: Bernhard Kaindl <bk@suse.de>
Signed-off-by: Avi Kivity <avi@qumranet.com>
user/test/x86/access.c
user/test/x86/emulator.c
user/test/x86/lib/printf.c