aboutsummaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-03-13 16:53:06 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-03-13 16:53:06 +0000
commit4f716dc681d1bfa78d0863499fc1f2e13f170ede (patch)
tree5dedeaa73c87f27d1dabd0cdc9d4f2ed0ed04978 /translate-all.c
parent539827ecf58f16577b957e9c391b85e886db1828 (diff)
avoid redefinition problems
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1331 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/translate-all.c b/translate-all.c
index f6a7bc2b50..fd7cc668cf 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -30,6 +30,10 @@
#include "exec-all.h"
#include "disas.h"
+extern int dyngen_code(uint8_t *gen_code_buf,
+ uint16_t *label_offsets, uint16_t *jmp_offsets,
+ const uint16_t *opc_buf, const uint32_t *opparam_buf, const long *gen_labels);
+
enum {
#define DEF(s, n, copy_size) INDEX_op_ ## s,
#include "opc.h"
@@ -37,9 +41,6 @@ enum {
NB_OPS,
};
-#include "dyngen.h"
-#include "op.h"
-
uint16_t gen_opc_buf[OPC_BUF_SIZE];
uint32_t gen_opparam_buf[OPPARAM_BUF_SIZE];
long gen_labels[OPC_BUF_SIZE];