mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
Add statics and missing #includes for prototypes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
4c1b1bfe30
commit
9596ebb701
48 changed files with 137 additions and 145 deletions
|
@ -261,7 +261,7 @@ static void do_info_block(void)
|
|||
}
|
||||
|
||||
/* get the current CPU defined by the user */
|
||||
int mon_set_cpu(int cpu_index)
|
||||
static int mon_set_cpu(int cpu_index)
|
||||
{
|
||||
CPUState *env;
|
||||
|
||||
|
@ -274,7 +274,7 @@ int mon_set_cpu(int cpu_index)
|
|||
return -1;
|
||||
}
|
||||
|
||||
CPUState *mon_get_cpu(void)
|
||||
static CPUState *mon_get_cpu(void)
|
||||
{
|
||||
if (!mon_cpu) {
|
||||
mon_set_cpu(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue