From 12da1775289f70ef377aa70e04a069c75223c16f Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 29 Mar 1993 13:22:16 +0000 Subject: [PATCH] objdump.c: Use correct prototype of fprintf, else it won't compile on ANSI C systems. --- binutils/ChangeLog | 9 +++++++++ binutils/objdump.c | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1c9a778e4db..a9a0b7b329f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,12 @@ +Thu Mar 25 10:38:11 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * objdump.c (fprintf): Declaration of variadic function had better + be a prototype for ANSI C systems. + +Mon Mar 22 23:19:46 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: rename test-install to install-check + Fri Mar 19 14:40:08 1993 Steve Chamberlain (sac@thepub.cygnus.com) * objdump.c (disassemble_data): Add H8500. diff --git a/binutils/objdump.c b/binutils/objdump.c index 3e3db6a5f3f..95f3a33717f 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; -- 2.30.2