aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-07-16 13:29:35 +0930
committerAlan Modra <amodra@gmail.com>2016-07-16 13:29:35 +0930
commit4212b42d795628dcc36bcffc7cf16175f7698305 (patch)
treeccc4026c32f6e7b701444b1309a0fa126d04e1bf /bfd/bfd-in2.h
parent16412c3bc4b00ecbf87251bfd2c92584615412bb (diff)
downloadgdb-4212b42d795628dcc36bcffc7cf16175f7698305.zip
gdb-4212b42d795628dcc36bcffc7cf16175f7698305.tar.gz
gdb-4212b42d795628dcc36bcffc7cf16175f7698305.tar.bz2
Don't include libbfd.h outside of bfd, part 4
Not much to see here, just renaming a function. bfd/ * targets.c (bfd_seach_for_target): Rename to.. (bfd_iterate_over_targets): ..this. Rewrite doc. * bfd-in2.h: Regenerate. ld/ * ldlang.c (open_output): Replace bfd_search_for_target with bfd_iterate_over_targets. Localize vars.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 8b12547..f9f0e26 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -7555,9 +7555,9 @@ const bfd_target *bfd_get_target_info (const char *target_name,
const char **def_target_arch);
const char ** bfd_target_list (void);
-const bfd_target *bfd_search_for_target
- (int (*search_func) (const bfd_target *, void *),
- void *);
+const bfd_target *bfd_iterate_over_targets
+ (int (*func) (const bfd_target *, void *),
+ void *data);
const char *bfd_flavour_name (enum bfd_flavour flavour);