From: Fam Zheng Date: Fri, 8 Sep 2017 09:16:57 +0000 (+0800) Subject: tests/tcg/i386: Build fix for hello-i386 X-Git-Tag: v3.0.0-rc0~68^2~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=553a5a6046df3a7a9826ba7c955670094d12802b;p=thirdparty%2Fqemu.git 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 Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée --- diff --git a/tests/tcg/i386/hello-i386.c b/tests/tcg/i386/hello-i386.c index fa00380de29..cfeb24b2f5c 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);