aboutsummaryrefslogtreecommitdiff
path: root/bfd/section.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-07-08 08:08:00 +0000
committerAlan Modra <amodra@gmail.com>2003-07-08 08:08:00 +0000
commit0c83546ac6ce48331e66584c9119fe258d0d1bfc (patch)
tree2b88e08ef1afc51fff06710d524c2dafa247653c /bfd/section.c
parent234d84da5b7c0f324137e93cedf78b623309b829 (diff)
downloadgdb-0c83546ac6ce48331e66584c9119fe258d0d1bfc.zip
gdb-0c83546ac6ce48331e66584c9119fe258d0d1bfc.tar.gz
gdb-0c83546ac6ce48331e66584c9119fe258d0d1bfc.tar.bz2
* elfcode.h (elf_object_p): Allocate tdata via _bfd_set_format.
* elfcore.h (elf_core_file_p): Likewise. * section.c (bfd_section_init): Remove prototype.
Diffstat (limited to 'bfd/section.c')
-rw-r--r--bfd/section.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bfd/section.c b/bfd/section.c
index 020ab01..aaeb0ef 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -705,8 +705,6 @@ bfd_section_hash_newfunc (struct bfd_hash_entry *entry,
/* Initializes a new section. NEWSECT->NAME is already set. */
-static asection *bfd_section_init PARAMS ((bfd *, asection *));
-
static asection *
bfd_section_init (bfd *abfd, asection *newsect)
{