aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-17 20:26:25 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-17 20:26:25 +0000
commit8fcd36920e1b0e5ff92efb16f7ae05112cd4defa (patch)
treea9fa6061ef07e7648ecc19cffddd422e9f82b489 /linux-user/main.c
parenta5f1b965dae70f7d41721edaacb109d80721b966 (diff)
Fix some warnings that would be generated by gcc -Wmissing-prototypes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5022 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/main.c')
-rw-r--r--linux-user/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 023aac33c3..11e9be84b2 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -107,10 +107,12 @@ int cpu_inl(CPUState *env, int addr)
return 0;
}
+#if defined(TARGET_I386)
int cpu_get_pic_interrupt(CPUState *env)
{
return -1;
}
+#endif
/* timers for rdtsc */
@@ -2151,7 +2153,7 @@ void cpu_loop (CPUState *env)
}
#endif /* TARGET_ALPHA */
-void usage(void)
+static void usage(void)
{
printf("qemu-" TARGET_ARCH " version " QEMU_VERSION ", Copyright (c) 2003-2008 Fabrice Bellard\n"
"usage: qemu-" TARGET_ARCH " [options] program [arguments...]\n"