aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-30 09:51:20 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-30 09:51:20 +0000
commit79383c9c082e5d56618968237dad806d0eb615f3 (patch)
tree5a4ec99b6d47de6540d2be29ac64a8d79c48da87 /target-m68k
parentRemove memcpy32() prototype leftover from r5109 (diff)
downloadqemu-kvm-79383c9c082e5d56618968237dad806d0eb615f3.tar.gz
qemu-kvm-79383c9c082e5d56618968237dad806d0eb615f3.tar.bz2
qemu-kvm-79383c9c082e5d56618968237dad806d0eb615f3.zip
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 'target-m68k')
-rw-r--r--target-m68k/exec.h2
-rw-r--r--target-m68k/translate.c4
2 files changed, 1 insertions, 5 deletions
diff --git a/target-m68k/exec.h b/target-m68k/exec.h
index 12694453a..745606ec0 100644
--- a/target-m68k/exec.h
+++ b/target-m68k/exec.h
@@ -44,8 +44,6 @@ int cpu_m68k_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
#include "softmmu_exec.h"
#endif
-void cpu_m68k_flush_flags(CPUM68KState *env, int cc_op);
-
void cpu_loop_exit(void);
static inline int cpu_halted(CPUState *env) {
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index d5872a10b..16b2c2c1b 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -30,6 +30,7 @@
#include "exec-all.h"
#include "disas.h"
#include "tcg-op.h"
+#include "qemu-log.h"
#define GEN_HELPER 1
#include "helpers.h"
@@ -157,9 +158,6 @@ typedef struct DisasContext {
static void *gen_throws_exception;
#define gen_last_qop NULL
-extern FILE *logfile;
-extern int loglevel;
-
#define OS_BYTE 0
#define OS_WORD 1
#define OS_LONG 2