qemu-e2k/hw/audio
Eduardo Habkost db1015e92e Move QOM typedefs and add missing includes
Some typedefs and macros are defined after the type check macros.
This makes it difficult to automatically replace their
definitions with OBJECT_DECLARE_TYPE.

Patch generated using:

 $ ./scripts/codeconverter/converter.py -i \
   --pattern=QOMStructTypedefSplit $(git grep -l '' -- '*.[ch]')

which will split "typdef struct { ... } TypedefName"
declarations.

Followed by:

 $ ./scripts/codeconverter/converter.py -i --pattern=MoveSymbols \
    $(git grep -l '' -- '*.[ch]')

which will:
- move the typedefs and #defines above the type check macros
- add missing #include "qom/object.h" lines if necessary

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20200831210740.126168-9-ehabkost@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20200831210740.126168-10-ehabkost@redhat.com>
Message-Id: <20200831210740.126168-11-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2020-09-09 09:26:43 -04:00
..
Kconfig i2c: express dependencies with Kconfig 2019-03-07 21:45:53 +01:00
ac97.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
adlib.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
cs4231.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
cs4231a.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
es1370.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
fmopl.c hw/audio/fmopl: fix segmentation fault 2020-03-25 09:55:40 +01:00
fmopl.h fmops: fix off-by-one in AR_TABLE and DR_TABLE array size 2018-11-26 11:15:32 +01:00
gus.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
gusemu.h audio: GUSsample is int16_t 2017-05-04 09:16:05 +02:00
gusemu_hal.c hw/audio/gus: Fix registers 32-bit access 2020-06-19 11:20:09 +02:00
gusemu_mixer.c hw/audio/gus: Fix registers 32-bit access 2020-06-19 11:20:09 +02:00
gustate.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
hda-codec-common.h hda-codec: make mixemu selectable at runtime 2013-09-24 10:29:34 +02:00
hda-codec.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
intel-hda-defs.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
intel-hda.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
intel-hda.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
lm4549.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
lm4549.h Include exec/memory.h slightly less 2019-08-16 13:31:52 +02:00
marvell_88w8618.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
meson.build meson: convert hw/audio 2020-08-21 06:30:32 -04:00
milkymist-ac97.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pcspk.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pl041.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pl041.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
pl041.hx hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
sb16.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
soundhw.c audio: add deprecated_register_soundhw 2020-07-06 17:01:11 +02:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
wm8750.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00