aboutsummaryrefslogtreecommitdiffstats
path: root/hw/mips_r4k.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-13 14:00:23 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-13 14:00:23 +0000
commitea6fd42fa273591d2dc0ca7780e810582783a6ba (patch)
treece9de393eb529a6bd9ad1f0e17021aac47288829 /hw/mips_r4k.c
parentc732abe2227954316a5db399aac2040ec0d68f91 (diff)
Static-ify function.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3381 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mips_r4k.c')
-rw-r--r--hw/mips_r4k.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c
index 47b51c7b0..ce7aaff9d 100644
--- a/hw/mips_r4k.c
+++ b/hw/mips_r4k.c
@@ -64,9 +64,10 @@ static CPUReadMemoryFunc *mips_qemu_read[] = {
static int mips_qemu_iomemtype = 0;
-void load_kernel (CPUState *env, int ram_size, const char *kernel_filename,
- const char *kernel_cmdline,
- const char *initrd_filename)
+static void load_kernel (CPUState *env, int ram_size,
+ const char *kernel_filename,
+ const char *kernel_cmdline,
+ const char *initrd_filename)
{
int64_t entry, kernel_low, kernel_high;
long kernel_size, initrd_size;