mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
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:
parent
a5f1b965da
commit
8fcd36920e
11 changed files with 61 additions and 67 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue