aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-08-03 20:09:53 +0000
committerTom Tromey <tromey@redhat.com>2012-08-03 20:09:53 +0000
commit7b84f8dad032b67b971407e5204cc4c31d406802 (patch)
tree7ba8e940ce27d9984a2e416b914ef2dd0ddf38e8
parenta442b35f3a2d2c5ad8afe84f577a1f5c5c1aad60 (diff)
downloadgdb-7b84f8dad032b67b971407e5204cc4c31d406802.zip
gdb-7b84f8dad032b67b971407e5204cc4c31d406802.tar.gz
gdb-7b84f8dad032b67b971407e5204cc4c31d406802.tar.bz2
* opncls.c (_bfd_delete_bfd): Now static.
* libbfd-in.h (_bfd_delete_bfd): Don't declare. * libbfd.h: Rebuild.
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/libbfd-in.h2
-rw-r--r--bfd/libbfd.h2
-rw-r--r--bfd/opncls.c2
4 files changed, 7 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 739fbef..0403229 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2012-08-03 Tom Tromey <tromey@redhat.com>
+
+ * opncls.c (_bfd_delete_bfd): Now static.
+ * libbfd-in.h (_bfd_delete_bfd): Don't declare.
+ * libbfd.h: Rebuild.
+
2012-08-02 Sean Keys <skeys@ipdatasys.com>
* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Modified
diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h
index c424fe2..1495825 100644
--- a/bfd/libbfd-in.h
+++ b/bfd/libbfd-in.h
@@ -160,8 +160,6 @@ extern bfd *_bfd_generic_get_elt_at_index
(bfd *, symindex);
bfd * _bfd_new_bfd
(void);
-void _bfd_delete_bfd
- (bfd *);
bfd_boolean _bfd_free_cached_info
(bfd *);
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index e74ce34..c31780d 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -165,8 +165,6 @@ extern bfd *_bfd_generic_get_elt_at_index
(bfd *, symindex);
bfd * _bfd_new_bfd
(void);
-void _bfd_delete_bfd
- (bfd *);
bfd_boolean _bfd_free_cached_info
(bfd *);
diff --git a/bfd/opncls.c b/bfd/opncls.c
index 7c1d2f9..0c02ee4 100644
--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -127,7 +127,7 @@ _bfd_new_bfd_contained_in (bfd *obfd)
/* Delete a BFD. */
-void
+static void
_bfd_delete_bfd (bfd *abfd)
{
if (abfd->memory)