aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-03-17 16:36:08 +0000
committerIan Lance Taylor <ian@airs.com>1997-03-17 16:36:08 +0000
commit50ede03d760c23490792fc84fe98969fe5dfbacd (patch)
tree955f7be2e6db6fa129458cf319af4766d8bbfea6 /bfd/libbfd.h
parent590c50d82cc981b0523e39fafa48c4d6585ec035 (diff)
downloadgdb-50ede03d760c23490792fc84fe98969fe5dfbacd.zip
gdb-50ede03d760c23490792fc84fe98969fe5dfbacd.tar.gz
gdb-50ede03d760c23490792fc84fe98969fe5dfbacd.tar.bz2
* opncls.c (bfd_alloc): Rename from bfd_alloc_by_size_t. Remove
old version of bfd_alloc. * libbfd-in.h (bfd_alloc_by_size_t): Don't declare. * libbfd.h: Rebuild. * Several files: Call bfd_alloc rather than bfd_alloc_by_size_t.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r--bfd/libbfd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index a0864ea..60f32cb 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -93,7 +93,6 @@ PTR bfd_alloc PARAMS ((bfd *abfd, size_t size));
PTR bfd_zalloc PARAMS ((bfd *abfd, size_t size));
void bfd_alloc_grow PARAMS ((bfd *abfd, PTR thing, size_t size));
PTR bfd_alloc_finish PARAMS ((bfd *abfd));
-PTR bfd_alloc_by_size_t PARAMS ((bfd *abfd, size_t wanted));
#define bfd_release(x,y) (void) obstack_free(&(x->memory),y)
@@ -486,7 +485,7 @@ extern bfd *bfd_last_cache;
/* List of supported target vectors, and the default vector (if
bfd_default_vector[0] is NULL, there is no default). */
extern const bfd_target * const bfd_target_vector[];
-extern const bfd_target * const bfd_default_vector[];
+extern const bfd_target *bfd_default_vector[];
/* Functions shared by the ECOFF and MIPS ELF backends, which have no
other common header files. */