aboutsummaryrefslogtreecommitdiff
path: root/exec-all.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-07-19 18:23:17 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-07-22 05:52:10 +0200
commit24ab68ac7278129004b4afa05f074c55e3a90b05 (patch)
tree9c75bc5112aef3c0b8490e51ad58cac7e6ab76cf /exec-all.h
parente8637c9013609271772cc0c3436cb1240cd6b034 (diff)
Declare code_gen_ptr, code_gen_max_blocks 'static'
Both values are only used in exec.c, so there is no need to make them globally available. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'exec-all.h')
-rw-r--r--exec-all.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/exec-all.h b/exec-all.h
index a775582be7..58b55759fc 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -191,8 +191,6 @@ void tb_link_page(TranslationBlock *tb,
void tb_phys_invalidate(TranslationBlock *tb, tb_page_addr_t page_addr);
extern TranslationBlock *tb_phys_hash[CODE_GEN_PHYS_HASH_SIZE];
-extern uint8_t *code_gen_ptr;
-extern int code_gen_max_blocks;
#if defined(USE_DIRECT_JUMP)