提交 4595a48a 编写于 作者: D Daniel P. Berrange 提交者: Michael Tokarev

maint: remove unused include for strings.h

A number of files were including strings.h but not using any
of the functions it provides
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
上级 1618d2ae
...@@ -582,7 +582,6 @@ static const char pvr_register_prefix[] = "rpvr"; ...@@ -582,7 +582,6 @@ static const char pvr_register_prefix[] = "rpvr";
#endif /* MICROBLAZE_OPC */ #endif /* MICROBLAZE_OPC */
#include "disas/bfd.h" #include "disas/bfd.h"
#include <strings.h>
#define get_field_rd(instr) get_field(instr, RD_MASK, RD_LOW) #define get_field_rd(instr) get_field(instr, RD_MASK, RD_LOW)
#define get_field_r1(instr) get_field(instr, RA_MASK, RA_LOW) #define get_field_r1(instr) get_field(instr, RA_MASK, RA_LOW)
......
#include "qemu-common.h" #include "qemu-common.h"
#include <strings.h>
#include <stdint.h> #include <stdint.h>
#include "qemu/range.h" #include "qemu/range.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <strings.h>
#include <string.h> #include <string.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <strings.h>
#include <string.h> #include <string.h>
#include <sys/time.h> #include <sys/time.h>
#include "qemu-common.h" #include "qemu-common.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册