summaryrefslogtreecommitdiff
path: root/bfd/section.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-09-10 21:16:27 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-09-10 21:16:27 +0000
commit7e7c28b240fe8cbe1e004c8c94f6021c2fa9ca7b (patch)
tree61a3461bed4ccbe615f77dda42831d283b0936f9 /bfd/section.c
parent6b788815185942db315cbd551bc488d941147c58 (diff)
downloadbinutils-redhat-7e7c28b240fe8cbe1e004c8c94f6021c2fa9ca7b.tar.gz
* section.c (bfd_sections_find_if): Fix parameter name in
comment to match code.
Diffstat (limited to 'bfd/section.c')
-rw-r--r--bfd/section.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/section.c b/bfd/section.c
index b9272dbba7..b368c2aa84 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -1123,17 +1123,17 @@ FUNCTION
SYNOPSIS
asection *bfd_sections_find_if
(bfd *abfd,
- bfd_boolean (*func) (bfd *abfd, asection *sect, void *obj),
+ bfd_boolean (*operation) (bfd *abfd, asection *sect, void *obj),
void *obj);
DESCRIPTION
- Call the provided function @var{func} for each section
+ Call the provided function @var{operation} for each section
attached to the BFD @var{abfd}, passing @var{obj} as an
argument. The function will be called as if by
-| func (abfd, the_section, obj);
+| operation (abfd, the_section, obj);
- It returns the first section for which @var{func} returns true.
+ It returns the first section for which @var{operation} returns true.
*/