qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] a3380c: target/xtensa: Remove duplicate typed


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] a3380c: target/xtensa: Remove duplicate typedef of DisasCo...
Date: Fri, 12 Jan 2018 08:01:09 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a3380cf658e130be35ad36c5fc284986258781bc
      
https://github.com/qemu/qemu/commit/a3380cf658e130be35ad36c5fc284986258781bc
  Author: Peter Maydell <address@hidden>
  Date:   2018-01-12 (Fri, 12 Jan 2018)

  Changed paths:
    M target/xtensa/translate.c

  Log Message:
  -----------
  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 <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden



reply via email to

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