diff mbox series

[4/5] disas/nanomips: Remove headers already included by "qemu/osdep.h"

Message ID 20221101114458.25756-5-philmd@linaro.org (mailing list archive)
State New, archived
Headers show
Series disas/nanomips: Format string fixes | expand

Commit Message

Philippe Mathieu-Daudé Nov. 1, 2022, 11:44 a.m. UTC
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 disas/nanomips.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Stefan Weil Nov. 1, 2022, 12:12 p.m. UTC | #1
Am 01.11.22 um 12:44 schrieb Philippe Mathieu-Daudé:
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   disas/nanomips.c | 4 ----
>   1 file changed, 4 deletions(-)
>
> diff --git a/disas/nanomips.c b/disas/nanomips.c
> index 3f45447292..821d4f8832 100644
> --- a/disas/nanomips.c
> +++ b/disas/nanomips.c
> @@ -30,10 +30,6 @@
>   #include "qemu/osdep.h"
>   #include "disas/dis-asm.h"
>   
> -#include <string.h>
> -#include <stdio.h>
> -#include <stdarg.h>
> -
>   typedef int64_t int64;
>   typedef uint64_t uint64;
>   typedef uint32_t uint32;

Removing those three typedefs and replacing the related types would also 
be good (in another patch).

Reviewed-by: Stefan Weil <sw@weilnetz.de>
diff mbox series

Patch

diff --git a/disas/nanomips.c b/disas/nanomips.c
index 3f45447292..821d4f8832 100644
--- a/disas/nanomips.c
+++ b/disas/nanomips.c
@@ -30,10 +30,6 @@ 
 #include "qemu/osdep.h"
 #include "disas/dis-asm.h"
 
-#include <string.h>
-#include <stdio.h>
-#include <stdarg.h>
-
 typedef int64_t int64;
 typedef uint64_t uint64;
 typedef uint32_t uint32;