]> xenbits.xensource.com Git - osstest/qemu.git/commitdiff
maint: remove unused include for strings.h
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 26 Aug 2015 11:17:17 +0000 (12:17 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 11 Sep 2015 07:21:38 +0000 (10:21 +0300)
A number of files were including strings.h but not using any
of the functions it provides

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
disas/microblaze.c
hw/pci/shpc.c
page_cache.c
tests/test-xbzrle.c

index c14ab89b7c16eef9cfc77f46d02e3ab5bb71ed65..92cd4b1455f2e9c1a5f95311be275e9a47a024f5 100644 (file)
@@ -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)
index bfb4d31b622f095f34961e6129e4c1bcef90397f..d34fdf3ecbb4b0d0dafb062e820a0521ac485585 100644 (file)
@@ -1,5 +1,4 @@
 #include "qemu-common.h"
-#include <strings.h>
 #include <stdint.h>
 #include "qemu/range.h"
 #include "qemu/error-report.h"
index cf8878d1d7393f4587342cffd16596b93ec1e0c2..a9eb0769b3077379b231e267bde53ea83cf0159e 100644 (file)
@@ -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>
index b5ee8bb09ec523e619e891e4a7acf722009bfcb7..1cd8cb7d788bc8a121f2cf1d2909908f8477af48 100644 (file)
@@ -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"