aboutsummaryrefslogtreecommitdiffstats
path: root/exec-all.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-02-10 10:04:57 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-02-10 18:17:43 +0100
commitd1a1eb7472b40950dac176a191f3d5d4ae980ecc (patch)
treecfe894cf0dae17f0781e308b9e0e7348df0b83cd /exec-all.h
parent6c5f738daec123020d32543fe90a6633a4f6643e (diff)
Make tb_alloc static
This function is only used within exec.c, so no need to make it public. Signed-off-by: Tristan Gingold <gingold@adacore.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'exec-all.h')
-rw-r--r--exec-all.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/exec-all.h b/exec-all.h
index e3a82bc99..496c001c0 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -180,7 +180,6 @@ static inline unsigned int tb_phys_hash_func(tb_page_addr_t pc)
return (pc >> 2) & (CODE_GEN_PHYS_HASH_SIZE - 1);
}
-TranslationBlock *tb_alloc(target_ulong pc);
void tb_free(TranslationBlock *tb);
void tb_flush(CPUState *env);
void tb_link_page(TranslationBlock *tb,