* opncls.c (bfd_zalloc): Document this function.

This commit is contained in:
Ben Elliston 2005-02-23 03:49:41 +00:00
parent ee3c981485
commit c3e8c140a3
2 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-02-23 Ben Elliston <bje@au.ibm.com>
* opncls.c (bfd_zalloc): Document this function.
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
* coffcode.h (sec_to_styp_flags): Replaced SEC_CLINK with

View File

@ -820,7 +820,6 @@ DESCRIPTION
<<abfd>> and return a pointer to it.
*/
void *
bfd_alloc (bfd *abfd, bfd_size_type size)
{
@ -838,6 +837,18 @@ bfd_alloc (bfd *abfd, bfd_size_type size)
return ret;
}
/*
INTERNAL_FUNCTION
bfd_zalloc
SYNOPSIS
void *bfd_zalloc (bfd *abfd, bfd_size_type wanted);
DESCRIPTION
Allocate a block of @var{wanted} bytes of zeroed memory
attached to <<abfd>> and return a pointer to it.
*/
void *
bfd_zalloc (bfd *abfd, bfd_size_type size)
{