* opncls.c (_bfd_delete_bfd): Now static.
authorTom Tromey <tromey@redhat.com>
Fri, 3 Aug 2012 20:09:53 +0000 (20:09 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 3 Aug 2012 20:09:53 +0000 (20:09 +0000)
* libbfd-in.h (_bfd_delete_bfd): Don't declare.
* libbfd.h: Rebuild.

bfd/ChangeLog
bfd/libbfd-in.h
bfd/libbfd.h
bfd/opncls.c

index 739fbef376dd1b5d07ac767d396dfd634cecd384..040322968c2db67bf245a3f0c0db63e83964774f 100644 (file)
@@ -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
index c424fe2510e297803dc64cba09bd4c3a7a1cdf08..1495825c4d60771b84e68b45827fe1aa89b8fec7 100644 (file)
@@ -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 *);
 
index e74ce34ad40821cc66f9e7bdbecc87127d3a309c..c31780dab1f4a902a8cf149d706d33479edc6cf0 100644 (file)
@@ -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 *);
 
index 7c1d2f99a5815990d97da36958079a91e8538946..0c02ee4e2b1bc49127da072a0075a505fac18058 100644 (file)
@@ -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)