aboutsummaryrefslogtreecommitdiff
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
commitf9480ffc140bbdde991fd33c534cc146501a1db0 (patch)
tree767ec857c56a4a3d9ddb635506781297146c889a /mips-dis.c
parentdfb5e54b1148fc2ed2185dbc2ea9feb9490ee078 (diff)
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