summaryrefslogtreecommitdiff
path: root/target-ppc/helper.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-11 22:42:33 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-11 22:42:33 +0000
commit93220573844045c48eeda03df74db04418456ce3 (patch)
treef648a036b88f32c85ed3813c49089c2f7e02b16e /target-ppc/helper.c
parent94fa46e2c2367f697c80a6fee69d27f919edb7a9 (diff)
downloadqemu-93220573844045c48eeda03df74db04418456ce3.tar.gz
target-ppc: remove remaining warnings
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5991 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r--target-ppc/helper.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index bb13195a72..538d9f34c4 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -1205,7 +1205,7 @@ static always_inline void ppc4xx_tlb_invalidate_virt (CPUState *env,
#endif
}
-int mmu40x_get_physical_address (CPUState *env, mmu_ctx_t *ctx,
+static int mmu40x_get_physical_address (CPUState *env, mmu_ctx_t *ctx,
target_ulong address, int rw, int access_type)
{
ppcemb_tlb_t *tlb;
@@ -1287,9 +1287,9 @@ void store_40x_sler (CPUPPCState *env, uint32_t val)
env->spr[SPR_405_SLER] = val;
}
-int mmubooke_get_physical_address (CPUState *env, mmu_ctx_t *ctx,
- target_ulong address, int rw,
- int access_type)
+static int mmubooke_get_physical_address (CPUState *env, mmu_ctx_t *ctx,
+ target_ulong address, int rw,
+ int access_type)
{
ppcemb_tlb_t *tlb;
target_phys_addr_t raddr;