[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 09/26] maint: remove unused include for strings.h
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 09/26] maint: remove unused include for strings.h |
Date: |
Fri, 11 Sep 2015 14:03:33 +0300 |
From: "Daniel P. Berrange" <address@hidden>
A number of files were including strings.h but not using any
of the functions it provides
Signed-off-by: Daniel P. Berrange <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
disas/microblaze.c | 1 -
hw/pci/shpc.c | 1 -
page_cache.c | 1 -
tests/test-xbzrle.c | 1 -
4 files changed, 4 deletions(-)
diff --git a/disas/microblaze.c b/disas/microblaze.c
index c14ab89..92cd4b1 100644
--- a/disas/microblaze.c
+++ b/disas/microblaze.c
@@ -582,7 +582,6 @@ static const char pvr_register_prefix[] = "rpvr";
#endif /* MICROBLAZE_OPC */
#include "disas/bfd.h"
-#include <strings.h>
#define get_field_rd(instr) get_field(instr, RD_MASK, RD_LOW)
#define get_field_r1(instr) get_field(instr, RA_MASK, RA_LOW)
diff --git a/hw/pci/shpc.c b/hw/pci/shpc.c
index bfb4d31..d34fdf3 100644
--- a/hw/pci/shpc.c
+++ b/hw/pci/shpc.c
@@ -1,5 +1,4 @@
#include "qemu-common.h"
-#include <strings.h>
#include <stdint.h>
#include "qemu/range.h"
#include "qemu/error-report.h"
diff --git a/page_cache.c b/page_cache.c
index cf8878d..a9eb076 100644
--- a/page_cache.c
+++ b/page_cache.c
@@ -15,7 +15,6 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
-#include <strings.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
diff --git a/tests/test-xbzrle.c b/tests/test-xbzrle.c
index b5ee8bb..1cd8cb7 100644
--- a/tests/test-xbzrle.c
+++ b/tests/test-xbzrle.c
@@ -13,7 +13,6 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
-#include <strings.h>
#include <string.h>
#include <sys/time.h>
#include "qemu-common.h"
--
2.1.4
- [Qemu-devel] [PULL 00/26] Trivial patches for 2015-09-11, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 09/26] maint: remove unused include for strings.h,
Michael Tokarev <=
- [Qemu-devel] [PULL 13/26] docs: fix a qga/qapi-schema.json comment, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 06/26] maint: remove unused include for assert.h, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 15/26] linux-user: Fix warnings caused by missing 'static' attribute, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 01/26] Update language files for QEMU 2.4.0, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 25/26] hw/arm/spitz: Remove meaningless blank Property, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 17/26] Target-ppc: Remove unnecessary variable, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 10/26] maint: avoid useless "if (foo) free(foo)" pattern, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 05/26] maint: remove / fix many doubled words, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 26/26] virtio-vga: enable for i386, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 24/26] hw/gpio/zaurus: Remove meaningless blank Property, Michael Tokarev, 2015/09/11