aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-11-28 12:14:45 +0000
committerJohn Gilmore <gnu@cygnus>1992-11-28 12:14:45 +0000
commitd4a06831c1121dc4205135127d82a3fb6d53f26b (patch)
tree903dd137f1c9764e089216a62059f6c16fac9e11 /include
parent1093ee14ae0911cd8571a3a09dfd8a688b2203ef (diff)
downloadgdb-d4a06831c1121dc4205135127d82a3fb6d53f26b.zip
gdb-d4a06831c1121dc4205135127d82a3fb6d53f26b.tar.gz
gdb-d4a06831c1121dc4205135127d82a3fb6d53f26b.tar.bz2
Update to match revised bfd-in.h.
Diffstat (limited to 'include')
-rw-r--r--include/bfd.h28
1 files changed, 9 insertions, 19 deletions
diff --git a/include/bfd.h b/include/bfd.h
index 4ce6587..4a895ed 100644
--- a/include/bfd.h
+++ b/include/bfd.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 */
@@ -224,22 +215,21 @@ 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 *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 *sec));
- PROTO(void, (* reloc_dangerous),(CONST struct reloc_cache_entry *rel,
- CONST struct bfd_seclet *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