[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target/xtensa: Remove duplicate typedef of Disa
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] target/xtensa: Remove duplicate typedef of DisasContext |
Date: |
Fri, 12 Jan 2018 16:01:17 +0000 |
On 12 January 2018 at 13:08, Peter Maydell <address@hidden> wrote:
> Some older versions of gcc complain if a typedef is defined twice:
>
> target/xtensa/translate.c:81: error: redefinition of typedef 'DisasContext'
> target/xtensa/cpu.h:339: note: previous declaration of 'DisasContext' was here
>
> Remove the now-redundant typedef from the definition of the struct in
> translate.c.
>
> Reported-by: Paolo Bonzini <address@hidden>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
...applied to master as a buildfix.
-- PMM