OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b17219
)
tests/tcg/i386: Build fix for hello-i386
author
Fam Zheng
<famz@redhat.com>
Fri, 8 Sep 2017 09:16:57 +0000
(17:16 +0800)
committer
Alex Bennée
<alex.bennee@linaro.org>
Wed, 20 Jun 2018 19:22:34 +0000
(20:22 +0100)
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>
tests/tcg/i386/hello-i386.c
patch
|
blob
|
history
diff --git
a/tests/tcg/i386/hello-i386.c
b/tests/tcg/i386/hello-i386.c
index
fa00380
..
cfeb24b
100644
(file)
--- 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);