aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-09-08 17:16:57 +0800
committerAlex Bennée <alex.bennee@linaro.org>2018-06-20 20:22:34 +0100
commit553a5a6046df3a7a9826ba7c955670094d12802b (patch)
treec27de17df001569598b4628faa9d1e7473f9d609 /tests
parent8b17219e7d01ad3e863656e6e7d26c2185392cd3 (diff)
downloadqemu-553a5a6046df3a7a9826ba7c955670094d12802b.zip
qemu-553a5a6046df3a7a9826ba7c955670094d12802b.tar.gz
qemu-553a5a6046df3a7a9826ba7c955670094d12802b.tar.bz2
tests/tcg/i386: Build fix for hello-i386
We have -Werror=missing-prototype, add a dummy prototype to avoid that warning. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/tcg/i386/hello-i386.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tcg/i386/hello-i386.c b/tests/tcg/i386/hello-i386.c
index fa00380..cfeb24b 100644
--- a/tests/tcg/i386/hello-i386.c
+++ b/tests/tcg/i386/hello-i386.c
@@ -20,6 +20,7 @@ static inline int write(int fd, const char * buf, int len)
return status;
}
+void _start(void);
void _start(void)
{
write(1, "Hello World\n", 12);