[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 16/56] tests/tcg/i386: Build fix for hello-i386

From: Alex Bennée
Subject: [Qemu-devel] [PULL 16/56] tests/tcg/i386: Build fix for hello-i386
Date: Tue, 19 Jun 2018 16:43:55 +0100

From: Fam Zheng <address@hidden>

We have -Werror=missing-prototype, add a dummy prototype to avoid that

Signed-off-by: Fam Zheng <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]