]> git.ipfire.org Git - thirdparty/qemu.git/commit
Create qemu-types.h for struct typedefs
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 23 Oct 2012 23:41:52 +0000 (21:41 -0200)
committerAndreas Färber <afaerber@suse.de>
Thu, 6 Dec 2012 08:17:05 +0000 (09:17 +0100)
commit394e1bb79591c2fbfc873e5ccc38e92a3ba992cf
tree09594742152c782aa53ee13a106429921ae92e49
parentcad32159663c5910098e10d64f4b5b10648b0095
Create qemu-types.h for struct typedefs

Instead of keeping all those struct typedefs in qemu-common.h, move it
to a header that can be safely included by other headers, containing
only the struct typedefs and not pulling in other dependencies.

Also, move some of the qdev-core.h typedefs to the new file, too, so
other headers don't need to include qdev-core.h only because of
DeviceState and other typedefs.

This will help us remove qemu-common.h dependencies from some headers
later.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/qdev-core.h
qemu-common.h
qemu-types.h [new file with mode: 0644]