summaryrefslogtreecommitdiff
path: root/tcg/tcg.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 /tcg/tcg.c
parenta5f1b965dae70f7d41721edaacb109d80721b966 (diff)
downloadqemu-8fcd36920e1b0e5ff92efb16f7ae05112cd4defa.tar.gz
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 'tcg/tcg.c')
-rw-r--r--tcg/tcg.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index e976054110..8c1408c4da 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -196,19 +196,6 @@ void tcg_pool_reset(TCGContext *s)
s->pool_current = NULL;
}
-/* free all the pool */
-void tcg_pool_free(TCGContext *s)
-{
- TCGPool *p, *p1;
-
- for(p = s->pool_first; p != NULL; p = p1) {
- p1 = p->next;
- qemu_free(p);
- }
- s->pool_first = NULL;
- s->pool_cur = s->pool_end = NULL;
-}
-
void tcg_context_init(TCGContext *s)
{
int op, total_args, n;
@@ -655,7 +642,7 @@ void tcg_gen_shifti_i64(TCGv ret, TCGv arg1,
}
#endif
-void tcg_reg_alloc_start(TCGContext *s)
+static void tcg_reg_alloc_start(TCGContext *s)
{
int i;
TCGTemp *ts;
@@ -1025,7 +1012,7 @@ static inline void tcg_la_bb_end(TCGContext *s, uint8_t *dead_temps)
/* Liveness analysis : update the opc_dead_iargs array to tell if a
given input arguments is dead. Instructions updating dead
temporaries are removed. */
-void tcg_liveness_analysis(TCGContext *s)
+static void tcg_liveness_analysis(TCGContext *s)
{
int i, op_index, op, nb_args, nb_iargs, nb_oargs, arg, nb_ops;
TCGArg *args;