aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
commitf4eae89cf7214078d2e9b5c2ab5f50e74c5f1d0f (patch)
tree01c3eb10a849c08c6801b6454ab722c94bf2a800 /bfd
parent4a233bd8fcf121846ec87cdfa8e337904452fd97 (diff)
downloadgdb-f4eae89cf7214078d2e9b5c2ab5f50e74c5f1d0f.zip
gdb-f4eae89cf7214078d2e9b5c2ab5f50e74c5f1d0f.tar.gz
gdb-f4eae89cf7214078d2e9b5c2ab5f50e74c5f1d0f.tar.bz2
* section.c (bfd_sections_find_if): Fix parameter name in
comment to match code.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/section.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 01ea5cd..cc5b0a2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-10 Joel Brobecker <brobecker@gnat.com>
+
+ * section.c (bfd_sections_find_if): Fix parameter name in
+ comment to match code.
+
2004-09-10 Alan Modra <amodra@bigpond.net.au>
* elf.c (assign_file_positions_except_relocs): Assign relocs
diff --git a/bfd/section.c b/bfd/section.c
index b9272db..b368c2a 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.
*/