提交 553a5a60 编写于 作者: F Fam Zheng 提交者: Alex Bennée

tests/tcg/i386: Build fix for hello-i386

We have -Werror=missing-prototype, add a dummy prototype to avoid that
warning.
Signed-off-by: NFam Zheng <famz@redhat.com>
Reviewed-by: NThomas Huth <thuth@redhat.com>
Reviewed-by: NRichard Henderson <richard.henderson@linaro.org>
Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
上级 8b17219e
...@@ -20,6 +20,7 @@ static inline int write(int fd, const char * buf, int len) ...@@ -20,6 +20,7 @@ static inline int write(int fd, const char * buf, int len)
return status; return status;
} }
void _start(void);
void _start(void) void _start(void)
{ {
write(1, "Hello World\n", 12); write(1, "Hello World\n", 12);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册