diff mbox series

[RFC,4/7] tests: Build fix for hello-i386

Message ID 20170908091700.14867-5-famz@redhat.com
State New
Headers show
Series Proof of concept to power up "make test" with docker | expand

Commit Message

Fam Zheng Sept. 8, 2017, 9:16 a.m. UTC
We have -Werror=missing-prototype, add a dummy prototype to avoid that
warning.

Signed-off-by: Fam Zheng <famz@redhat.com>
---
 tests/tcg/hello-i386.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tests/tcg/hello-i386.c b/tests/tcg/hello-i386.c
index fa00380de2..cfeb24b2f5 100644
--- a/tests/tcg/hello-i386.c
+++ b/tests/tcg/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);