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>
This commit is contained in:
Fam Zheng 2017-09-08 17:16:57 +08:00 committed by Alex Bennée
parent 8b17219e7d
commit 553a5a6046

View File

@ -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);