diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 14 | ||||
-rw-r--r-- | bfd/bfd-in.h | 32 |
2 files changed, 25 insertions, 21 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c6bac39..0146f68 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,17 @@ +Sat Nov 28 04:01:21 1992 John Gilmore (gnu@cygnus.com) + + * libbfd-in.h, bfd-in.h: Eliminate all PROTO calls, replace with + PARAMS for readability. + +Wed Nov 18 13:16:17 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * format.c (bfd_check_format): if default target isn't found + then look through the entire list rather than return early. + +Mon Nov 16 14:33:03 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * config/i960-coff.mt: reorder vec to match bfd_check_format (from Per) + Thu Nov 12 17:01:41 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) * Makefile.in: pass down prefix and exec_prefix in FLAGS_TO_PASS diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 23fabc6..ea36784 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -45,15 +45,6 @@ here. */ #include "ansidecl.h" #include "obstack.h" -/* Make it easier to declare prototypes (puts conditional here) */ -#ifndef PROTO -# if __STDC__ -# define PROTO(type, name, arglist) type name arglist -# else -# define PROTO(type, name, arglist) type name () -# endif -#endif - #define BFD_VERSION "2.0" /* forward declaration */ @@ -220,26 +211,25 @@ typedef enum bfd_error { extern bfd_ec bfd_error; struct reloc_cache_entry; -struct bfd_seclet_struct ; +struct bfd_seclet; typedef struct bfd_error_vector { - PROTO(void,(* nonrepresentable_section ),(CONST bfd *CONST abfd, - CONST char *CONST name)); - PROTO(void,(* undefined_symbol),(CONST struct reloc_cache_entry *rel, - CONST struct bfd_seclet_struct *sec - )); - PROTO(void, (* reloc_value_truncated),(CONST struct + void (* nonrepresentable_section ) PARAMS ((CONST bfd *CONST abfd, + CONST char *CONST name)); + void (* undefined_symbol) PARAMS ((CONST struct reloc_cache_entry *rel, + CONST struct bfd_seclet *sec)); + void (* reloc_value_truncated) PARAMS ((CONST struct reloc_cache_entry *rel, - struct bfd_seclet_struct *sec)); + struct bfd_seclet *sec)); - PROTO(void, (* reloc_dangerous),(CONST struct reloc_cache_entry *rel, - CONST struct bfd_seclet_struct *sec)); + void (* reloc_dangerous) PARAMS ((CONST struct reloc_cache_entry *rel, + CONST struct bfd_seclet *sec)); } bfd_error_vector_type; -PROTO (CONST char *, bfd_errmsg, (bfd_ec error_tag)); -PROTO (void, bfd_perror, (CONST char *message)); +CONST char *bfd_errmsg PARAMS ((bfd_ec error_tag)); +void bfd_perror PARAMS ((CONST char *message)); typedef enum bfd_print_symbol |