* opncls.c (bfd_zalloc): Document this function.
authorBen Elliston <bje@au.ibm.com>
Wed, 23 Feb 2005 03:49:41 +0000 (03:49 +0000)
committerBen Elliston <bje@au.ibm.com>
Wed, 23 Feb 2005 03:49:41 +0000 (03:49 +0000)
bfd/ChangeLog
bfd/opncls.c

index 2d95ec25ecb9b90285fb72c2e16cbabfeb4698fe..c0d85082b01212312e92a5b27a35d141bb4960f3 100644 (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
index ffbf65d55fe5a037be309e7c16867f43d9cf2634..091c3168bf916250cfbaf19dd959cdd4a9eed69e 100644 (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)
 {