diff options
author | Thomas Huth <thuth@redhat.com> | 2023-02-10 12:19:31 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-02-14 09:11:27 +0100 |
commit | 5feed38c2139a2cea46b4b540303ef255d4cafc7 (patch) | |
tree | 9a0c52c13fa26ef1d618a18c6e04217d41d00a98 /include | |
parent | 8c6631e66e323bc92e0ea5d235e7059b30fb86ee (diff) | |
download | qemu-5feed38c2139a2cea46b4b540303ef255d4cafc7.zip qemu-5feed38c2139a2cea46b4b540303ef255d4cafc7.tar.gz qemu-5feed38c2139a2cea46b4b540303ef255d4cafc7.tar.bz2 |
Do not include "qemu/error-report.h" in headers that do not need it
Include it in the .c files instead that use the error reporting
functions.
Message-Id: <20230210111931.1115489-1-thuth@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/arm/allwinner-a10.h | 1 | ||||
-rw-r--r-- | include/qemu/vhost-user-server.h | 1 | ||||
-rw-r--r-- | include/ui/console.h | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/include/hw/arm/allwinner-a10.h b/include/hw/arm/allwinner-a10.h index e0f2f7a..79e0c80 100644 --- a/include/hw/arm/allwinner-a10.h +++ b/include/hw/arm/allwinner-a10.h @@ -1,7 +1,6 @@ #ifndef HW_ARM_ALLWINNER_A10_H #define HW_ARM_ALLWINNER_A10_H -#include "qemu/error-report.h" #include "hw/char/serial.h" #include "hw/arm/boot.h" #include "hw/pci/pci_device.h" diff --git a/include/qemu/vhost-user-server.h b/include/qemu/vhost-user-server.h index cd43193..25c7243 100644 --- a/include/qemu/vhost-user-server.h +++ b/include/qemu/vhost-user-server.h @@ -15,7 +15,6 @@ #include "io/channel-socket.h" #include "io/channel-file.h" #include "io/net-listener.h" -#include "qemu/error-report.h" #include "qapi/error.h" #include "standard-headers/linux/virtio_blk.h" diff --git a/include/ui/console.h b/include/ui/console.h index 8e6cf78..1cb53ac 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -4,7 +4,6 @@ #include "ui/qemu-pixman.h" #include "qom/object.h" #include "qemu/notify.h" -#include "qemu/error-report.h" #include "qapi/qapi-types-ui.h" #ifdef CONFIG_OPENGL |