aboutsummaryrefslogtreecommitdiff
path: root/tcg/ppc64
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-06-02 17:26:56 -0700
committerAurelien Jarno <aurelien@aurel32.net>2010-06-09 11:18:26 +0200
commite4d58b41f9fb6d7ea8281fe42fd5e00db2fd1455 (patch)
treec7a2dae4399bde7b8cfb5698daa0e4df8af4dc8b /tcg/ppc64
parent3b6dac34161bc0a342336072643c2f6d17e0ec45 (diff)
downloadqemu-e4d58b41f9fb6d7ea8281fe42fd5e00db2fd1455.zip
qemu-e4d58b41f9fb6d7ea8281fe42fd5e00db2fd1455.tar.gz
qemu-e4d58b41f9fb6d7ea8281fe42fd5e00db2fd1455.tar.bz2
tcg: Make some tcg-target.c routines static.
Both tcg_target_init and tcg_target_qemu_prologue are unused outside of tcg.c. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/ppc64')
-rw-r--r--tcg/ppc64/tcg-target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index 2d436a5..0483d6b 100644
--- a/tcg/ppc64/tcg-target.c
+++ b/tcg/ppc64/tcg-target.c
@@ -860,7 +860,7 @@ static void tcg_out_qemu_st (TCGContext *s, const TCGArg *args, int opc)
#endif
}
-void tcg_target_qemu_prologue (TCGContext *s)
+static void tcg_target_qemu_prologue (TCGContext *s)
{
int i, frame_size;
#ifndef __APPLE__
@@ -1663,7 +1663,7 @@ static const TCGTargetOpDef ppc_op_defs[] = {
{ -1 },
};
-void tcg_target_init (TCGContext *s)
+static void tcg_target_init (TCGContext *s)
{
tcg_regset_set32 (tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffffffff);
tcg_regset_set32 (tcg_target_available_regs[TCG_TYPE_I64], 0, 0xffffffff);