aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-03-29 13:22:16 +0000
committerKen Raeburn <raeburn@cygnus>1993-03-29 13:22:16 +0000
commit12da1775289f70ef377aa70e04a069c75223c16f (patch)
tree18b3caae33dd5939e217fb56ce8ceb0ffaff7d67 /binutils/objdump.c
parent0b0d6c3fa7fe45549ce89c70f896a11d5f4cff5a (diff)
downloadgdb-12da1775289f70ef377aa70e04a069c75223c16f.zip
gdb-12da1775289f70ef377aa70e04a069c75223c16f.tar.gz
gdb-12da1775289f70ef377aa70e04a069c75223c16f.tar.bz2
objdump.c: Use correct prototype of fprintf, else it won't compile on ANSI
C systems.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 3e3db6a..95f3a33 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -43,7 +43,7 @@ extern Elf_Internal_Shdr *bfd_elf_find_section();
#endif /* ELF_STAB_DISPLAY */
extern char *xmalloc ();
-extern int fprintf ();
+extern int fprintf PARAMS ((FILE *, CONST char *, ...));
char *default_target = NULL; /* default at runtime */
@@ -389,6 +389,9 @@ disassemble_data (abfd)
case bfd_arch_i386:
disassemble = print_insn_i386;
break;
+ case bfd_arch_h8500:
+ disassemble = print_insn_h8500;
+ break;
case bfd_arch_m68k:
disassemble = print_insn_m68k;
break;