Skip to content

Commit

Permalink
hw/input: Clean up includes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Markus Armbruster committed Feb 8, 2023
1 parent d90b1e4 commit 626fb3c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion hw/input/tsc210x.c
Expand Up @@ -20,7 +20,6 @@
*/

#include "qemu/osdep.h"
#include "qemu/log.h"
#include "hw/hw.h"
#include "audio/audio.h"
#include "qemu/timer.h"
Expand Down
1 change: 0 additions & 1 deletion include/hw/input/pl050.h
Expand Up @@ -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"
Expand Down

0 comments on commit 626fb3c

Please sign in to comment.