Skip to content

typedefs: Remove scarcely used declarations

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15hw/input/ps2: Remove PS2State from "qemu/typedefs.h"include/hw/input/ps2.h include/qemu/typedefs.h+2 -10 replies
2/15hw/pcmcia: Remove PCMCIACardState from "qemu/typedefs.h"include/hw/arm/pxa.h include/hw/pcmcia.h include/qemu/typedefs.h+3 -31 reply
3/15hw/ssi: Remove SSIBus from "qemu/typedefs.h"hw/arm/strongarm.h include/hw/arm/pxa.h include/hw/ssi/pl022.h +2 more+4 -113 replies
4/15hw/ide/ahci: Remove AllwinnerAHCIState from "qemu/typedefs.h"include/hw/ide/ahci.h include/qemu/typedefs.h+2 -31 reply
5/15hw/nvram/fw_cfg: Remove various typedefs from "qemu/typedefs.h"include/hw/acpi/vmgenid.h include/hw/arm/virt.h include/hw/mem/nvdimm.h +2 more+10 -52 replies
6/15hw/i2c/smbus: Remove SMBusDevice from "qemu/typedefs.h"include/hw/i2c/smbus.h include/qemu/typedefs.h+2 -10 replies
7/15hw/bt: Remove HCIInfo from "qemu/typedefs.h"include/qemu/typedefs.h include/sysemu/bt.h+2 -30 replies
8/15hw/char/serial: Remove SerialState from "qemu/typedefs.h"include/hw/char/serial.h include/qemu/typedefs.h+2 -30 replies
9/15hw/i386: Remove PCMachineClass from "qemu/typedefs.h"include/hw/i386/pc.h include/qemu/typedefs.h+2 -30 replies
10/15range: Remove Range from "qemu/typedefs.h"include/hw/pci-host/q35.h include/hw/pci/pci.h include/qemu/range.h +1 more+4 -32 replies
11/15audio: Remove AudioState from "qemu/typedefs.h"audio/audio_int.h include/qemu/typedefs.h+2 -30 replies
12/15ui/console: Remove MouseTransformInfo from qemu/typedefs.hinclude/hw/devices.h include/qemu/typedefs.h include/ui/console.h+3 -32 replies
13/15ui/console: Remove QemuDmaBuf from "qemu/typedefs.h"include/qemu/typedefs.h include/ui/console.h+2 -30 replies
14/15ui/console: Remove DisplayState/DisplaySurface from "qemu/typedefs.h"include/qemu/typedefs.h include/ui/console.h+4 -40 replies
15/15ui/console: Add "ui/pixelformat.h" to declare PixelFormatinclude/qemu/typedefs.h include/ui/console.h include/ui/pixelformat.h +1 more+34 -114 replies

Reviews trailers per patch

5 of 15 patches have a Reviewed-by or Acked-by.

PatchThomas HuthLaszlo Ersek
1/15R-b
2/15R-b
3/15R-b
4/15R-b
5/15R-b
6/15
7/15
8/15
9/15
10/15
11/15
12/15
13/15
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH RESEND 00/15] typedefs: Remove scarcely used declarations

Hi,

Since this file became a hot topic [*], I took previous cleanups from last year and continue to clean it.

Regards,

Phil.

[*] "HACKING: Clarify the paragraph about typedefs"
https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg02132.html
[*] "Fix duplicated typedefs to be able to compile with Clang in gnu99 mode"
https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg02117.html

Philippe Mathieu-Daudé (15):
hw/input/ps2: Remove PS2State from "qemu/typedefs.h" hw/pcmcia: Remove PCMCIACardState from "qemu/typedefs.h" hw/ssi: Remove SSIBus from "qemu/typedefs.h"
hw/ide/ahci: Remove AllwinnerAHCIState from "qemu/typedefs.h" hw/nvram/fw_cfg: Remove various typedefs from "qemu/typedefs.h" hw/i2c/smbus: Remove SMBusDevice from "qemu/typedefs.h" hw/bt: Remove HCIInfo from "qemu/typedefs.h" hw/char/serial: Remove SerialState from "qemu/typedefs.h" hw/i386: Remove PCMachineClass from "qemu/typedefs.h"
range: Remove Range from "qemu/typedefs.h"
audio: Remove AudioState from "qemu/typedefs.h" ui/console: Remove MouseTransformInfo from qemu/typedefs.h ui/console: Remove QemuDmaBuf from "qemu/typedefs.h" ui/console: Remove DisplayState/DisplaySurface from "qemu/typedefs.h" RFC ui/console: Add "ui/pixelformat.h" to declare PixelFormat

 audio/audio_int.h         |  4 ++--
 hw/arm/strongarm.h        |  1 +
 include/hw/acpi/vmgenid.h |  1 +
 include/hw/arm/pxa.h      |  2 ++
 include/hw/arm/virt.h     |  1 +
 include/hw/char/serial.h  |  4 ++--
 include/hw/devices.h      |  1 +
 include/hw/i2c/smbus.h    |  2 ++
 include/hw/i386/pc.h      |  4 ++--
 include/hw/ide/ahci.h     |  4 ++--
 include/hw/input/ps2.h    |  2 ++
 include/hw/mem/nvdimm.h   |  1 +
 include/hw/nvram/fw_cfg.h |  8 +++++++-
 include/hw/pci-host/q35.h |  1 +
 include/hw/pci/pci.h      |  1 +
 include/hw/pcmcia.h       |  4 ++--
 include/hw/ssi/pl022.h    |  1 +
 include/hw/ssi/ssi.h      |  1 +
 include/qemu/range.h      |  4 ++--
 include/qemu/typedefs.h   | 19 -------------------
 include/sysemu/bt.h       |  4 ++--
 include/ui/console.h      | 25 +++++++++----------------
 include/ui/pixelformat.h  | 31 +++++++++++++++++++++++++++++++
 include/ui/qemu-pixman.h  |  2 ++
 24 files changed, 78 insertions(+), 50 deletions(-)
 create mode 100644 include/ui/pixelformat.h
Signature · 1 line
2.17.2