aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-17 20:26:25 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-17 20:26:25 +0000
commit8fcd36920e1b0e5ff92efb16f7ae05112cd4defa (patch)
treea9fa6061ef07e7648ecc19cffddd422e9f82b489 /exec.c
parenta5f1b965dae70f7d41721edaacb109d80721b966 (diff)
downloadqemu-8fcd36920e1b0e5ff92efb16f7ae05112cd4defa.zip
qemu-8fcd36920e1b0e5ff92efb16f7ae05112cd4defa.tar.gz
qemu-8fcd36920e1b0e5ff92efb16f7ae05112cd4defa.tar.bz2
Fix some warnings that would be generated by gcc -Wmissing-prototypes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5022 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 3ab4ad0..a0aa7dc 100644
--- a/exec.c
+++ b/exec.c
@@ -386,7 +386,7 @@ static void tlb_unprotect_code_phys(CPUState *env, ram_addr_t ram_addr,
static uint8_t static_code_gen_buffer[DEFAULT_CODE_GEN_BUFFER_SIZE];
#endif
-void code_gen_alloc(unsigned long tb_size)
+static void code_gen_alloc(unsigned long tb_size)
{
#ifdef USE_STATIC_CODE_GEN_BUFFER
code_gen_buffer = static_code_gen_buffer;