aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-18 01:44:38 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-18 01:44:38 +0000
commit9596ebb7012a19a45ca036a200acd617a93a321b (patch)
treedf011db5945e48dc0c86c04daf2c2072f43f2867 /monitor.c
parentImprove PowerPC instructions set dump. (diff)
downloadqemu-kvm-9596ebb7012a19a45ca036a200acd617a93a321b.tar.gz
qemu-kvm-9596ebb7012a19a45ca036a200acd617a93a321b.tar.bz2
qemu-kvm-9596ebb7012a19a45ca036a200acd617a93a321b.zip
Add statics and missing #includes for prototypes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor.c b/monitor.c
index 76ed5f8cf..4a9e8bbfa 100644
--- a/monitor.c
+++ b/monitor.c
@@ -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);