summaryrefslogtreecommitdiff
path: root/mips-dis.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-20 19:42:14 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-20 19:42:14 +0000
commit33efde3bfb797028f142cb2b4840244823004532 (patch)
tree767ec857c56a4a3d9ddb635506781297146c889a /mips-dis.c
parent9737a280dd03aa08d8f273380134d4a312b6676a (diff)
downloadqemu-33efde3bfb797028f142cb2b4840244823004532.tar.gz
qemu-33efde3bfb797028f142cb2b4840244823004532.tar.bz2
qemu-33efde3bfb797028f142cb2b4840244823004532.zip
Fix remaining compiler warnings for mips targets.
Signed-off-by: Stefan Weil <weil@mail.berlios.de> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6111 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'mips-dis.c')
-rw-r--r--mips-dis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mips-dis.c b/mips-dis.c
index 5b0b247b34..10b0fead4d 100644
--- a/mips-dis.c
+++ b/mips-dis.c
@@ -3272,7 +3272,7 @@ choose_arch_by_number (unsigned long mach)
return c;
}
-void
+static void
set_default_mips_dis_options (struct disassemble_info *info)
{
const struct mips_arch_choice *chosen_arch;
@@ -3321,7 +3321,7 @@ set_default_mips_dis_options (struct disassemble_info *info)
#endif
}
-void
+static void
parse_mips_dis_option (const char *option, unsigned int len)
{
unsigned int i, optionlen, vallen;
@@ -4809,7 +4809,6 @@ print_mips16_insn_arg (char type,
abort ();
}
}
-#endif
void
print_mips_disassembler_options (FILE *stream)
@@ -4863,3 +4862,4 @@ with the -M switch (multiple options should be separated by commas):\n"));
fprintf (stream, _("\n"));
}
+#endif