Skip to content

Commit

Permalink
maint: remove unused include for strings.h
Browse files Browse the repository at this point in the history
A number of files were including strings.h but not using any
of the functions it provides

Signed-off-by: Daniel P. Berrange <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
  • Loading branch information
berrange authored and Michael Tokarev committed Sep 11, 2015
1 parent 1618d2a commit 4595a48
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion disas/microblaze.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion hw/pci/shpc.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "qemu-common.h"
#include <strings.h>
#include <stdint.h>
#include "qemu/range.h"
#include "qemu/error-report.h"
Expand Down
1 change: 0 additions & 1 deletion page_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion tests/test-xbzrle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4595a48

Please sign in to comment.