diff options
author | Fam Zheng | 2017-09-08 11:16:57 +0200 |
---|---|---|
committer | Alex Bennée | 2018-06-20 21:22:34 +0200 |
commit | 553a5a6046df3a7a9826ba7c955670094d12802b (patch) | |
tree | c27de17df001569598b4628faa9d1e7473f9d609 /tests | |
parent | tests/tcg: enable building for i386 (diff) | |
download | qemu-553a5a6046df3a7a9826ba7c955670094d12802b.tar.gz qemu-553a5a6046df3a7a9826ba7c955670094d12802b.tar.xz qemu-553a5a6046df3a7a9826ba7c955670094d12802b.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tcg/i386/hello-i386.c b/tests/tcg/i386/hello-i386.c index fa00380de2..cfeb24b2f5 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); |