This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[ob] Fix doco for bfd_alloc
- From: Andrew Cagney <cagney at gnu dot org>
- To: binutils at sources dot redhat dot com
- Date: Thu, 22 Apr 2004 20:24:46 -0400
- Subject: [ob] Fix doco for bfd_alloc
The doco didn't match the code. Committed.
However, this brings up an issue. opncls.c isn't put through the "make
headers" stuff and if it is added all sorts of other conflicts appear :-/
Andrew
2004-04-22 Andrew Cagney <cagney@redhat.com>
* opncls.c (bfd_alloc): Fix type of "wanted" in doco.
Index: opncls.c
===================================================================
RCS file: /cvs/src/src/bfd/opncls.c,v
retrieving revision 1.22
diff -u -r1.22 opncls.c
--- opncls.c 21 Apr 2004 17:05:12 -0000 1.22
+++ opncls.c 23 Apr 2004 00:18:49 -0000
@@ -813,7 +813,7 @@
bfd_alloc
SYNOPSIS
- void *bfd_alloc (bfd *abfd, size_t wanted);
+ void *bfd_alloc (bfd *abfd, bfd_size_type wanted);
DESCRIPTION
Allocate a block of @var{wanted} bytes of memory attached to