From: Mark Eichin Date: Fri, 22 Oct 1993 18:04:09 +0000 (+0000) Subject: hide declaration of fprintf inside FPRINTF_ALREADY_DECLARED, because X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80d19ec1fceed8de80aa57bbda758f2a669817ce;p=binutils-gdb.git 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. --- diff --git a/binutils/objdump.c b/binutils/objdump.c index ad9d16003f6..1f5a1d271af 100644 --- a/binutils/objdump.c +++ b/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 }