From 80d19ec1fceed8de80aa57bbda758f2a669817ce Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Fri, 22 Oct 1993 18:04:09 +0000 Subject: [PATCH] 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. --- binutils/objdump.c | 3 +++ 1 file changed, 3 insertions(+) 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 } -- 2.30.2