From 030157d8a65afcc6292a4d3d183b816ed2ff7c57 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 1 Jun 2018 11:00:46 +0930 Subject: Make _bfd_error_handler available outside libbfd Needed when building libopcodes.so. bfd/ * bfd.c (_bfd_error_handler): Arrange for this function to be declared in bfd-in2.h. * libbfd-in.h (_bfd_error_handler): Don't declare. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. opcodes/ * sysdep.h (_bfd_error_handler): Don't declare. * msp430-decode.opc: Include bfd.h. Don't include ansidecl.h here. * rl78-decode.opc: Likewise. * msp430-decode.c: Regenerate. * rl78-decode.c: Regenerate. --- bfd/libbfd.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'bfd/libbfd.h') diff --git a/bfd/libbfd.h b/bfd/libbfd.h index f357e0e..12b1a96 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -128,9 +128,6 @@ extern void *bfd_realloc2 extern void *bfd_zmalloc2 (bfd_size_type, bfd_size_type) ATTRIBUTE_HIDDEN; -extern void _bfd_error_handler (const char *s, ...) - ATTRIBUTE_PRINTF_1 ATTRIBUTE_HIDDEN; - /* These routines allocate and free things on the BFD's objalloc. */ extern void *bfd_alloc2 -- cgit v1.1