diff options
author | Markus Armbruster <armbru@redhat.com> | 2023-02-02 14:38:18 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-02-08 07:16:23 +0100 |
commit | 626fb3c6a884583a425672f34c3837ed99365b27 (patch) | |
tree | 85fb8f35413b656fc42d166ead1ad00d6c31e52a | |
parent | d90b1e42362950ad31a4b143416d78a33a894294 (diff) | |
download | qemu-626fb3c6a884583a425672f34c3837ed99365b27.zip qemu-626fb3c6a884583a425672f34c3837ed99365b27.tar.gz qemu-626fb3c6a884583a425672f34c3837ed99365b27.tar.bz2 |
hw/input: Clean up includes
This commit was created with scripts/clean-includes.
All .c should include qemu/osdep.h first. The script performs three
related cleanups:
* Ensure .c files include qemu/osdep.h first.
* Including it in a .h is redundant, since the .c already includes
it. Drop such inclusions.
* Likewise, including headers qemu/osdep.h includes is redundant.
Drop these, too.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20230202133830.2152150-9-armbru@redhat.com>
-rw-r--r-- | hw/input/tsc210x.c | 1 | ||||
-rw-r--r-- | include/hw/input/pl050.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/hw/input/tsc210x.c b/hw/input/tsc210x.c index fdd5ff8..7eae598 100644 --- a/hw/input/tsc210x.c +++ b/hw/input/tsc210x.c @@ -20,7 +20,6 @@ */ #include "qemu/osdep.h" -#include "qemu/log.h" #include "hw/hw.h" #include "audio/audio.h" #include "qemu/timer.h" diff --git a/include/hw/input/pl050.h b/include/hw/input/pl050.h index 89ec4fa..4cb8985 100644 --- a/include/hw/input/pl050.h +++ b/include/hw/input/pl050.h @@ -10,7 +10,6 @@ #ifndef HW_PL050_H #define HW_PL050_H -#include "qemu/osdep.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/input/ps2.h" |