From 47b01cf3a16b9526f99084e99de13dfd9072882e Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 13 Oct 2010 20:54:26 +0200 Subject: Remove special handling of system include files (no longer needed) The formerly used dyngen code did not work with system include files like stdio.h. Tests with Linux, OSX and Win32 show that this restriction is no longer needed. So we hopefully can remove that special piece of code. This results in cleaner code and allows better use of the new GCC_FMT_ATTR macro. Cc: Blue Swirl Signed-off-by: Stefan Weil Signed-off-by: Blue Swirl --- cris-dis.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cris-dis.c') diff --git a/cris-dis.c b/cris-dis.c index 455ba8af3f..afd775c29b 100644 --- a/cris-dis.c +++ b/cris-dis.c @@ -18,13 +18,11 @@ You should have received a copy of the GNU General Public License along with this program; if not, see . */ +#include "qemu-common.h" #include "dis-asm.h" //#include "sysdep.h" #include "target-cris/opcode-cris.h" //#include "libiberty.h" - - -void *qemu_malloc(size_t len); /* can't include qemu-common.h here */ #define CONST_STRNEQ(STR1,STR2) (strncmp ((STR1), (STR2), sizeof (STR2) - 1) == 0) -- cgit v1.2.3