From 8fcd36920e1b0e5ff92efb16f7ae05112cd4defa Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 17 Aug 2008 20:26:25 +0000 Subject: 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 --- linux-user/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linux-user/main.c') 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" -- cgit v1.2.3