mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 08:47:28 +00:00
objdump.c: Use correct prototype of fprintf, else it won't compile on ANSI
C systems.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user