[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 11/29] typedefs: Separate incomplete types and functi
From: |
Markus Armbruster |
Subject: |
[Qemu-devel] [PULL 11/29] typedefs: Separate incomplete types and function types |
Date: |
Tue, 13 Aug 2019 17:46:35 +0200 |
While there, drop the obsolete file comment.
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
---
include/qemu/typedefs.h | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h
index fcdaae58c4..29346648d4 100644
--- a/include/qemu/typedefs.h
+++ b/include/qemu/typedefs.h
@@ -1,10 +1,10 @@
#ifndef QEMU_TYPEDEFS_H
#define QEMU_TYPEDEFS_H
-/* A load of opaque types so that device init declarations don't have to
- pull in all the real definitions. */
-
-/* Please keep this list in case-insensitive alphabetical order */
+/*
+ * Incomplete struct types
+ * Please keep this list in case-insensitive alphabetical order.
+ */
typedef struct AdapterInfo AdapterInfo;
typedef struct AddressSpace AddressSpace;
typedef struct AioContext AioContext;
@@ -101,6 +101,10 @@ typedef struct SHPCDevice SHPCDevice;
typedef struct SSIBus SSIBus;
typedef struct VirtIODevice VirtIODevice;
typedef struct Visitor Visitor;
+
+/*
+ * Function types
+ */
typedef void SaveStateHandler(QEMUFile *f, void *opaque);
typedef int LoadStateHandler(QEMUFile *f, void *opaque, int version_id);
--
2.21.0
- [Qemu-devel] [PULL 05/29] queue: Drop superfluous #include qemu/atomic.h, (continued)
- [Qemu-devel] [PULL 05/29] queue: Drop superfluous #include qemu/atomic.h, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 14/29] migration: Move the VMStateDescription typedef to typedefs.h, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 19/29] Include qemu/queue.h slightly less, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 22/29] Include hw/boards.h a bit less, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 17/29] Include qom/object.h slightly less, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 26/29] Clean up inclusion of sysemu/sysemu.h, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 16/29] Include exec/memory.h slightly less, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 09/29] Include migration/qemu-file-types.h a lot less, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 25/29] numa: Move remaining NUMA declarations from sysemu.h to numa.h, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 08/29] Include sysemu/reset.h a lot less, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 11/29] typedefs: Separate incomplete types and function types,
Markus Armbruster <=
- [Qemu-devel] [PULL 20/29] Include qemu/main-loop.h less, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 24/29] Include sysemu/hostmem.h less, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 10/29] ide: Include hw/ide/internal a bit less outside hw/ide/, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 28/29] sysemu: Move the VMChangeStateEntry typedef to qemu/typedefs.h, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 21/29] Include hw/qdev-properties.h less, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 23/29] numa: Don't include hw/boards.h into sysemu/numa.h, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 18/29] Include hw/hw.h exactly where needed, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 27/29] Include sysemu/sysemu.h a lot less, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 15/29] Include migration/vmstate.h less, Markus Armbruster, 2019/08/13
- [Qemu-devel] [PULL 29/29] sysemu: Split sysemu/runstate.h off sysemu/sysemu.h, Markus Armbruster, 2019/08/13