diff mbox series

[v5,19/49] tests/tcg/i386: Build fix for hello-i386

Message ID 20180525133851.27161-20-alex.bennee@linaro.org
State Superseded
Headers show
Series fix buildings of tests/tcg | expand

Commit Message

Alex Bennée May 25, 2018, 1:38 p.m. UTC
From: Fam Zheng <famz@redhat.com>


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>

---
 tests/tcg/i386/hello-i386.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.17.0
diff mbox series

Patch

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