target/xtensa: Remove duplicate typedef of DisasContext
commita3380cf658e130be35ad36c5fc284986258781bc
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Jan 2018 13:08:48 +0000 (12 13:08 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Jan 2018 14:36:41 +0000 (12 14:36 +0000)
treebca2c311889646d29e1eb6ed3590a4bad4050543
parent36b5e43af8561bf1e381022a5010ff0d5cc3be17
target/xtensa: Remove duplicate typedef of DisasContext

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 <pbonzini@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1515762528-22818-1-git-send-email-peter.maydell@linaro.org
target/xtensa/translate.c