OSDN Git Service

tcg: Remove unneeded include statements
authorStefan Weil <sw@weilnetz.de>
Sat, 11 Feb 2012 09:07:55 +0000 (10:07 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 23 Feb 2012 08:59:51 +0000 (08:59 +0000)
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 <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
tcg/tcg.c

index d43fa4a..351a0a3 100644 (file)
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
 #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"