summaryrefslogtreecommitdiff
path: root/cris-dis.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-10-13 20:54:26 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-10-22 17:11:28 +0000
commit47b01cf3a16b9526f99084e99de13dfd9072882e (patch)
treea8571fc4ccae26cda1711b09d277aba2d45dc4c4 /cris-dis.c
parentdbb1413589512574519abcf52a9a7127ddc7844b (diff)
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 <blauwirbel@gmail.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cris-dis.c')
-rw-r--r--cris-dis.c4
1 files changed, 1 insertions, 3 deletions
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 <http://www.gnu.org/licenses/>. */
+#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)