Skip to content

Commit

Permalink
tests/tcg/i386: Build fix for hello-i386
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fam Zheng authored and stsquad committed Jun 20, 2018
1 parent 8b17219 commit 553a5a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/tcg/i386/hello-i386.c
Expand Up @@ -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);
Expand Down

0 comments on commit 553a5a6

Please sign in to comment.