* opncls.c (bfd_alloc, bfd_zalloc): Don't mark internal.

* libbfd-in.h (bfd_alloc, bfd_zalloc): Don't declare here.
	* libbfd.h: Regenerate
	* bfd-in2.h: Regenerate.
This commit is contained in:
Alan Modra
2010-10-25 07:02:19 +00:00
parent bc110b6e40
commit 59a9808d56
5 changed files with 15 additions and 12 deletions

View File

@ -1,3 +1,10 @@
2010-10-25 Alan Modra <amodra@gmail.com>
* opncls.c (bfd_alloc, bfd_zalloc): Don't mark internal.
* libbfd-in.h (bfd_alloc, bfd_zalloc): Don't declare here.
* libbfd.h: Regenerate
* bfd-in2.h: Regenerate.
2010-10-25 Alan Modra <amodra@gmail.com> 2010-10-25 Alan Modra <amodra@gmail.com>
* opncls.c (_bfd_id_counter): Rename to bfd_id_counter. * opncls.c (_bfd_id_counter): Rename to bfd_id_counter.

View File

@ -1001,6 +1001,10 @@ bfd_boolean bfd_make_writable (bfd *abfd);
bfd_boolean bfd_make_readable (bfd *abfd); bfd_boolean bfd_make_readable (bfd *abfd);
void *bfd_alloc (bfd *abfd, bfd_size_type wanted);
void *bfd_zalloc (bfd *abfd, bfd_size_type wanted);
unsigned long bfd_calc_gnu_debuglink_crc32 unsigned long bfd_calc_gnu_debuglink_crc32
(unsigned long crc, const unsigned char *buf, bfd_size_type len); (unsigned long crc, const unsigned char *buf, bfd_size_type len);

View File

@ -118,10 +118,6 @@ extern bfd_error_handler_type _bfd_error_handler;
/* These routines allocate and free things on the BFD's objalloc. */ /* These routines allocate and free things on the BFD's objalloc. */
extern void *bfd_alloc
(bfd *, bfd_size_type);
extern void *bfd_zalloc
(bfd *, bfd_size_type);
extern void *bfd_alloc2 extern void *bfd_alloc2
(bfd *, bfd_size_type, bfd_size_type); (bfd *, bfd_size_type, bfd_size_type);
extern void *bfd_zalloc2 extern void *bfd_zalloc2

View File

@ -123,10 +123,6 @@ extern bfd_error_handler_type _bfd_error_handler;
/* These routines allocate and free things on the BFD's objalloc. */ /* These routines allocate and free things on the BFD's objalloc. */
extern void *bfd_alloc
(bfd *, bfd_size_type);
extern void *bfd_zalloc
(bfd *, bfd_size_type);
extern void *bfd_alloc2 extern void *bfd_alloc2
(bfd *, bfd_size_type, bfd_size_type); (bfd *, bfd_size_type, bfd_size_type);
extern void *bfd_zalloc2 extern void *bfd_zalloc2

View File

@ -892,7 +892,7 @@ bfd_make_readable (bfd *abfd)
} }
/* /*
INTERNAL_FUNCTION FUNCTION
bfd_alloc bfd_alloc
SYNOPSIS SYNOPSIS
@ -960,7 +960,7 @@ bfd_alloc2 (bfd *abfd, bfd_size_type nmemb, bfd_size_type size)
} }
/* /*
INTERNAL_FUNCTION FUNCTION
bfd_zalloc bfd_zalloc
SYNOPSIS SYNOPSIS