tcg: Remove unneeded include statements
PATCH 1/1 tcg: Remove unneeded include statements
The standard include files are already included in qemu-common.h.
malloc.h and alloca.h were needed for alloca() which was removed from TCG code some years ago when switching from dyngen to TCG (see commit 49516bc0d622112caac9df628caf19010fda8b67).
Signed-off-by Stefan Weil <[email protected]>
--- tcg/tcg.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-)
tcg/tcg.c +0 -12
@@ -33,18 +33,6 @@#define NDEBUG #endif -#include <stdarg.h> -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <inttypes.h> -#ifdef _WIN32 -#include <malloc.h> -#endif -#ifdef _AIX -#include <alloca.h> -#endif -#include "qemu-common.h" #include "cache-utils.h" #include "host-utils.h"
Signature · 1 line
1.7.8.3
Stefan Hajnoczi
AppliedQuoted 10 lines · Stefan Weil
The standard include files are already included in
qemu-common.h.
malloc.handalloca.hwere needed foralloca()which was removed from TCG code some years ago when switching from dyngen to TCG (see commit49516bc0d622112caac9df628caf19010fda8b67).Signed-off-by Stefan Weil <[email protected]>--- tcg/tcg.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan