aboutsummaryrefslogtreecommitdiff
path: root/bfd/opncls.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-03-17 17:51:20 +0000
committerIan Lance Taylor <ian@airs.com>1997-03-17 17:51:20 +0000
commit062a1b96e049f022c42482d10bbc89a59b28a2c9 (patch)
treea935cabf0cd09d01c8d74ac87d787bc8e5993dc7 /bfd/opncls.c
parent437579d5084525103ba651dd8d6fee55dfef3648 (diff)
downloadgdb-062a1b96e049f022c42482d10bbc89a59b28a2c9.zip
gdb-062a1b96e049f022c42482d10bbc89a59b28a2c9.tar.gz
gdb-062a1b96e049f022c42482d10bbc89a59b28a2c9.tar.bz2
* opncls.c (bfd_alloc_grow, bfd_alloc_finish): Remove.
* libbfd-in.h (bfd_alloc_grow, bfd_alloc_finish): Don't declare. * libbfd.h: Rebuild. * ieee.c (ieee_archive_p): Rewrite to not use bfd_alloc_grow. * sunos.c (sunos_add_dynamic_symbols): Likewise.
Diffstat (limited to 'bfd/opncls.c')
-rw-r--r--bfd/opncls.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/bfd/opncls.c b/bfd/opncls.c
index f65dbff..810df70 100644
--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -565,27 +565,6 @@ bfd_alloc (abfd, size)
return ret;
}
-void
-bfd_alloc_grow (abfd, ptr, size)
- bfd *abfd;
- PTR ptr;
- size_t size;
-{
- (void) obstack_grow(&(abfd->memory), ptr, size);
-}
-
-PTR
-bfd_alloc_finish (abfd)
- bfd *abfd;
-{
- PTR ret;
-
- ret = obstack_finish (&(abfd->memory));
- if (ret == NULL)
- bfd_set_error (bfd_error_no_memory);
- return ret;
-}
-
PTR
bfd_zalloc (abfd, size)
bfd *abfd;