[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 12/24] tests/tcg/i386: Build fix for hello-i3
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH v1 12/24] tests/tcg/i386: Build fix for hello-i386 |
Date: |
Wed, 11 Apr 2018 12:30:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 10.04.2018 21:39, Alex Bennée wrote:
> From: Fam Zheng <address@hidden>
>
> We have -Werror=missing-prototype, add a dummy prototype to avoid that
> warning.
>
> Signed-off-by: Fam Zheng <address@hidden>
> ---
> tests/tcg/i386/hello-i386.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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);
>
Reviewed-by: Thomas Huth <address@hidden>
- [Qemu-devel] [PATCH v1 20/24] tests/tcg: enable building for s390x, (continued)
- [Qemu-devel] [PATCH v1 20/24] tests/tcg: enable building for s390x, Alex Bennée, 2018/04/10
- [Qemu-devel] [PATCH v1 21/24] tests/tcg: enable building for ppc64, Alex Bennée, 2018/04/10
- [Qemu-devel] [PATCH v1 11/24] tests/tcg: move i386 specific tests into subdir, Alex Bennée, 2018/04/10
- [Qemu-devel] [PATCH v1 12/24] tests/tcg/i386: Build fix for hello-i386, Alex Bennée, 2018/04/10
- [Qemu-devel] [PATCH v1 17/24] tests/tcg: move ARM specific tests into subdir, Alex Bennée, 2018/04/10
- [Qemu-devel] [PATCH v1 22/24] tests/tcg/Makefile: update to be called from Makefile.target, Alex Bennée, 2018/04/10
- [Qemu-devel] [PATCH v1 16/24] tests/tcg/i386: fix test-i386-fprem, Alex Bennée, 2018/04/10