* bfd.c: Include <stdarg.h> or <varargs.h>, depending upon
authorIan Lance Taylor <ian@airs.com>
Thu, 9 Mar 1995 22:16:40 +0000 (22:16 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 9 Mar 1995 22:16:40 +0000 (22:16 +0000)
ANSI_PROTOTYPES.
(bfd_error_handler_type): New global type.
(_bfd_error_program_name): New static variable.
(_bfd_default_error_handler): New static function.
(_bfd_error_handler): New BFD private global variable.
(bfd_set_error_handler): New globally visible function.
(bfd_set_error_program_name): New globally visible function.
* libbfd-in.h (_bfd_error_handler): Declare.
* bfd-in2.h, libbfd.h: Rebuild.

bfd/ChangeLog

index c9eafececac31af6deb9e7bb1908045869df5274..3173f4030ef2fb8c28d82a5629a7f5546aaf9fb9 100644 (file)
@@ -1,5 +1,16 @@
 Thu Mar  9 15:06:25 1995  Ian Lance Taylor  <ian@cygnus.com>
 
+       * bfd.c: Include <stdarg.h> or <varargs.h>, depending upon
+       ANSI_PROTOTYPES.
+       (bfd_error_handler_type): New global type.
+       (_bfd_error_program_name): New static variable.
+       (_bfd_default_error_handler): New static function.
+       (_bfd_error_handler): New BFD private global variable.
+       (bfd_set_error_handler): New globally visible function.
+       (bfd_set_error_program_name): New globally visible function.
+       * libbfd-in.h (_bfd_error_handler): Declare.
+       * bfd-in2.h, libbfd.h: Rebuild.
+
        * aoutx.h (NAME(aout,swap_ext_reloc_in)): Add symcount parameter,
        and use it instead of bfd_get_symcount.  Check r_index after
        setting r_extern based on whether this is a base relative reloc.