diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-30 09:51:20 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-30 09:51:20 +0000 |
commit | 79383c9c082e5d56618968237dad806d0eb615f3 (patch) | |
tree | 5a4ec99b6d47de6540d2be29ac64a8d79c48da87 /tcg | |
parent | c8f9349ad98dbfd20f72d49643dc8a5453ddc11e (diff) |
Fix some warnings that would be generated by gcc -Wredundant-decls
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5115 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg')
-rw-r--r-- | tcg/arm/tcg-target.c | 11 | ||||
-rw-r--r-- | tcg/hppa/tcg-target.c | 11 | ||||
-rw-r--r-- | tcg/i386/tcg-target.c | 11 | ||||
-rw-r--r-- | tcg/ppc/tcg-target.c | 11 | ||||
-rw-r--r-- | tcg/ppc64/tcg-target.c | 11 | ||||
-rw-r--r-- | tcg/sparc/tcg-target.c | 10 | ||||
-rw-r--r-- | tcg/x86_64/tcg-target.c | 10 |
7 files changed, 12 insertions, 63 deletions
diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c index 3ced47ef8..dee1ebca5 100644 --- a/tcg/arm/tcg-target.c +++ b/tcg/arm/tcg-target.c @@ -808,15 +808,8 @@ static void tcg_out_div_helper(TCGContext *s, int cond, const TCGArg *args, } #ifdef CONFIG_SOFTMMU -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); + +#include "../../softmmu_defs.h" static void *qemu_ld_helpers[4] = { __ldb_mmu, diff --git a/tcg/hppa/tcg-target.c b/tcg/hppa/tcg-target.c index 2d17c8190..3affd26ec 100644 --- a/tcg/hppa/tcg-target.c +++ b/tcg/hppa/tcg-target.c @@ -345,15 +345,8 @@ static inline void tcg_out_call(TCGContext *s, void *func) } #if defined(CONFIG_SOFTMMU) -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); + +#include "../../softmmu_defs.h" static void *qemu_ld_helpers[4] = { __ldb_mmu, diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c index a7bd74861..08bb783d3 100644 --- a/tcg/i386/tcg-target.c +++ b/tcg/i386/tcg-target.c @@ -404,15 +404,8 @@ static void tcg_out_brcond2(TCGContext *s, } #if defined(CONFIG_SOFTMMU) -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); + +#include "../../softmmu_defs.h" static void *qemu_ld_helpers[4] = { __ldb_mmu, diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c index 5018232af..ad174681f 100644 --- a/tcg/ppc/tcg-target.c +++ b/tcg/ppc/tcg-target.c @@ -454,15 +454,8 @@ static void tcg_out_b (TCGContext *s, int mask, tcg_target_long target) } #if defined(CONFIG_SOFTMMU) -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); + +#include "../../softmmu_defs.h" static void *qemu_ld_helpers[4] = { __ldb_mmu, diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c index 6acf823eb..6b16efa85 100644 --- a/tcg/ppc64/tcg-target.c +++ b/tcg/ppc64/tcg-target.c @@ -509,15 +509,8 @@ static void tcg_out_b (TCGContext *s, int mask, tcg_target_long target) } #if defined (CONFIG_SOFTMMU) -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); + +#include "../../softmmu_defs.h" static void *qemu_ld_helpers[4] = { __ldb_mmu, diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c index 7eb7cdc56..861ed8e3d 100644 --- a/tcg/sparc/tcg-target.c +++ b/tcg/sparc/tcg-target.c @@ -472,16 +472,8 @@ void tcg_target_qemu_prologue(TCGContext *s) } #if defined(CONFIG_SOFTMMU) -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); +#include "../../softmmu_defs.h" static const void * const qemu_ld_helpers[4] = { __ldb_mmu, diff --git a/tcg/x86_64/tcg-target.c b/tcg/x86_64/tcg-target.c index bc5694a8c..183816aeb 100644 --- a/tcg/x86_64/tcg-target.c +++ b/tcg/x86_64/tcg-target.c @@ -467,16 +467,8 @@ static void tcg_out_brcond(TCGContext *s, int cond, } #if defined(CONFIG_SOFTMMU) -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); +#include "../../softmmu_defs.h" static void *qemu_ld_helpers[4] = { __ldb_mmu, |