move 'typedef Aml' to qemu/types.h
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 29 Apr 2020 13:59:49 +0000 (15:59 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 4 May 2020 14:25:02 +0000 (10:25 -0400)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200429140003.7336-2-kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
include/hw/acpi/aml-build.h
include/qemu/typedefs.h

index 0f4ed53d7fbf5d814dd65ea24d2a84a8ab726c61..1539fe06671402338d879d36a22d343b020a24bd 100644 (file)
@@ -33,7 +33,6 @@ struct Aml {
     uint8_t op;
     AmlBlockFlags block_flags;
 };
-typedef struct Aml Aml;
 
 typedef enum {
     AML_COMPATIBILITY = 0,
index 375770a80f0673064e02845a0f6cad9d0826623a..ecf3cde26c3c34d7987426ace92589f2c8cac442 100644 (file)
@@ -24,6 +24,7 @@
 typedef struct AdapterInfo AdapterInfo;
 typedef struct AddressSpace AddressSpace;
 typedef struct AioContext AioContext;
+typedef struct Aml Aml;
 typedef struct AnnounceTimer AnnounceTimer;
 typedef struct BdrvDirtyBitmap BdrvDirtyBitmap;
 typedef struct BdrvDirtyBitmapIter BdrvDirtyBitmapIter;