Browse Source

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>
pull/232/head
Markus Armbruster 4 years ago
parent
commit
626fb3c6a8
  1. 1
      hw/input/tsc210x.c
  2. 1
      include/hw/input/pl050.h

1
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"

1
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"

Loading…
Cancel
Save