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
This commit is contained in:
blueswir1 2008-08-17 20:26:25 +00:00
parent a5f1b965da
commit 8fcd36920e
11 changed files with 61 additions and 67 deletions

View file

@ -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"