summaryrefslogtreecommitdiff
path: root/tcg/arm
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
commit274e006e18818a7bfa1457284bc0c24e143d91fe (patch)
treec7a2dae4399bde7b8cfb5698daa0e4df8af4dc8b /tcg/arm
parentaefccc80754f33d35786d5ff87077afbb9fbbd03 (diff)
downloadqemu-274e006e18818a7bfa1457284bc0c24e143d91fe.tar.gz
qemu-274e006e18818a7bfa1457284bc0c24e143d91fe.tar.bz2
qemu-274e006e18818a7bfa1457284bc0c24e143d91fe.zip
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/arm')
-rw-r--r--tcg/arm/tcg-target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c
index b3169a9da6..a3af5b222e 100644
--- a/tcg/arm/tcg-target.c
+++ b/tcg/arm/tcg-target.c
@@ -1746,7 +1746,7 @@ static const TCGTargetOpDef arm_op_defs[] = {
{ -1 },
};
-void tcg_target_init(TCGContext *s)
+static void tcg_target_init(TCGContext *s)
{
#if !defined(CONFIG_USER_ONLY)
/* fail safe */
@@ -1809,7 +1809,7 @@ static inline void tcg_out_movi(TCGContext *s, TCGType type,
tcg_out_movi32(s, COND_AL, ret, arg);
}
-void tcg_target_qemu_prologue(TCGContext *s)
+static void tcg_target_qemu_prologue(TCGContext *s)
{
/* There is no need to save r7, it is used to store the address
of the env structure and is not modified by GCC. */