aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
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"