[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 31/61] misc: remove headers implicitly included
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 31/61] misc: remove headers implicitly included |
Date: |
Mon, 18 Dec 2017 00:27:36 +0300 |
From: Philippe Mathieu-Daudé <address@hidden>
applied using ./scripts/clean-includes
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Ben Warren <address@hidden>
---
bsd-user/main.c | 1 -
chardev/wctablet.c | 4 ----
hw/audio/fmopl.h | 1 -
hw/scsi/vhost-user-scsi.c | 1 -
linux-user/main.c | 1 -
net/colo-compare.c | 1 -
tests/test-aio-multithread.c | 1 -
tests/test-clone-visitor.c | 1 -
tests/vmgenid-test.c | 3 ---
9 files changed, 14 deletions(-)
diff --git a/bsd-user/main.c b/bsd-user/main.c
index f1b244b59b..efef5ff8c5 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -32,7 +32,6 @@
#include "qemu/envlist.h"
#include "exec/log.h"
#include "trace/control.h"
-#include "glib-compat.h"
int singlestep;
unsigned long mmap_min_addr;
diff --git a/chardev/wctablet.c b/chardev/wctablet.c
index 6c13c2c58a..969d014574 100644
--- a/chardev/wctablet.c
+++ b/chardev/wctablet.c
@@ -25,10 +25,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
-#include <stdlib.h>
-#include <string.h>
-#include <sys/time.h>
-#include <time.h>
#include "qemu/osdep.h"
#include "qemu-common.h"
diff --git a/hw/audio/fmopl.h b/hw/audio/fmopl.h
index f4065f425c..e7e578a48e 100644
--- a/hw/audio/fmopl.h
+++ b/hw/audio/fmopl.h
@@ -1,7 +1,6 @@
#ifndef FMOPL_H
#define FMOPL_H
-#include <stdint.h>
typedef void (*OPL_TIMERHANDLER)(void *param, int channel, double
interval_Sec);
diff --git a/hw/scsi/vhost-user-scsi.c b/hw/scsi/vhost-user-scsi.c
index f7561e23fa..9389ed48e0 100644
--- a/hw/scsi/vhost-user-scsi.c
+++ b/hw/scsi/vhost-user-scsi.c
@@ -18,7 +18,6 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu/error-report.h"
-#include "qemu/typedefs.h"
#include "qom/object.h"
#include "hw/fw-path-provider.h"
#include "hw/qdev-core.h"
diff --git a/linux-user/main.c b/linux-user/main.c
index 6286661bd3..2fd2a143ed 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -35,7 +35,6 @@
#include "elf.h"
#include "exec/log.h"
#include "trace/control.h"
-#include "glib-compat.h"
char *exec_path;
diff --git a/net/colo-compare.c b/net/colo-compare.c
index 1ce195f877..0ebdec936c 100644
--- a/net/colo-compare.c
+++ b/net/colo-compare.c
@@ -23,7 +23,6 @@
#include "qom/object_interfaces.h"
#include "qemu/iov.h"
#include "qom/object.h"
-#include "qemu/typedefs.h"
#include "net/queue.h"
#include "chardev/char-fe.h"
#include "qemu/sockets.h"
diff --git a/tests/test-aio-multithread.c b/tests/test-aio-multithread.c
index d396185972..c8bec81520 100644
--- a/tests/test-aio-multithread.c
+++ b/tests/test-aio-multithread.c
@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
-#include <glib.h>
#include "block/aio.h"
#include "qapi/error.h"
#include "qemu/coroutine.h"
diff --git a/tests/test-clone-visitor.c b/tests/test-clone-visitor.c
index 96982163e4..ac6afc562e 100644
--- a/tests/test-clone-visitor.c
+++ b/tests/test-clone-visitor.c
@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
-#include <glib.h>
#include "qemu-common.h"
#include "qapi/clone-visitor.h"
diff --git a/tests/vmgenid-test.c b/tests/vmgenid-test.c
index 5a86b40775..68ff954578 100644
--- a/tests/vmgenid-test.c
+++ b/tests/vmgenid-test.c
@@ -8,9 +8,6 @@
* See the COPYING file in the top-level directory.
*/
-#include <glib.h>
-#include <string.h>
-#include <unistd.h>
#include "qemu/osdep.h"
#include "qemu/bitmap.h"
#include "qemu/uuid.h"
--
2.11.0
- [Qemu-devel] [PULL 14/61] Makefile: add more targets to the UNCHECKED_GOALS rule, (continued)
- [Qemu-devel] [PULL 14/61] Makefile: add more targets to the UNCHECKED_GOALS rule, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 49/61] hw/unicore32: restrict hw addr defines to source file, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 48/61] hw/virtio-balloon: remove old i386 dependency, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 51/61] hw/timer/mc146818: rename rtc_init() -> mc146818_rtc_init(), Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 38/61] numa: remove unused #include, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 46/61] hw/i2c: remove old i386 dependency, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 12/61] build: fix typo in error message, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 18/61] hw/registerfields: add missing include, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 19/61] hw/input/hid: Add support for several keys., Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 37/61] misc: avoid "include/" in include path, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 31/61] misc: remove headers implicitly included,
Michael Tokarev <=
- [Qemu-devel] [PULL 22/61] MAINTAINERS: add an entry for the i8257 (DMA controller), Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 16/61] hw/registerfields: fix a typo in the FIELD() documentation, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 50/61] hw/timer/i8254: rename pit_init() -> i8254_pit_init(), Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 20/61] MAINTAINERS: add entries for i2c/ppc4xx, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 24/61] MAINTAINERS: add an entry for watchdog/wdt_ib700, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 60/61] i386/pc: move vmmouse.c to hw/i386/, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 29/61] hw: remove "qemu/osdep.h" from header files, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 45/61] hw/ipmi: remove old i386 dependency, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 27/61] MAINTAINERS: add missing entry for include/hw/net/, Michael Tokarev, 2017/12/17
- [Qemu-devel] [PULL 53/61] hw/acpi/ich9: extract ACPI_PM_PROP_TCO_ENABLED from i386/pc, Michael Tokarev, 2017/12/17