Browse Source

hide declaration of fprintf inside FPRINTF_ALREADY_DECLARED, because

this declaration can be wrong but there must *be* a declaration for
include/dis-asm.h to work.
gdb-4_18-branch
Mark Eichin 33 years ago
parent
commit
80d19ec1fc
  1. 3
      binutils/objdump.c

3
binutils/objdump.c

@ -31,7 +31,9 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
extern Elf_Internal_Shdr *bfd_elf_find_section();
extern char *xmalloc ();
#ifndef FPRINTF_ALREADY_DECLARED
extern int fprintf PARAMS ((FILE *, CONST char *, ...));
#endif
char *default_target = NULL; /* default at runtime */
@ -140,6 +142,7 @@ dump_headers (abfd)
PF (SEC_CODE, "CODE");
PF (SEC_DATA, "DATA");
PF (SEC_ROM, "ROM");
PF (SEC_DEBUGGING, "DEBUGGING");
printf ("\n");
#undef PF
}

Loading…
Cancel
Save