diff options
author | Alan Modra <amodra@gmail.com> | 2002-11-30 08:39:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-11-30 08:39:46 +0000 |
commit | b34976b65aea8f33690229600bbf4527ec3118e1 (patch) | |
tree | 6411348664ef81ca2aa2e3ff325116e6e6502edf /ld/ldfile.h | |
parent | 583d52d728c60410c0d39bae68ee536a7b9e7a6c (diff) | |
download | binutils-gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.gz |
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
Diffstat (limited to 'ld/ldfile.h')
-rw-r--r-- | ld/ldfile.h | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/ld/ldfile.h b/ld/ldfile.h index 11a42322ab4..050a9896159 100644 --- a/ld/ldfile.h +++ b/ld/ldfile.h @@ -22,7 +22,7 @@ #define LDFILE_H extern const char *ldfile_input_filename; -extern boolean ldfile_assumed_script; +extern bfd_boolean ldfile_assumed_script; extern unsigned long ldfile_output_machine; extern enum bfd_architecture ldfile_output_architecture; extern const char *ldfile_output_machine_name; @@ -35,22 +35,27 @@ typedef struct search_dirs { struct search_dirs *next; /* Name of directory. */ const char *name; - /* true if this is from the command line. */ - boolean cmdline; + /* TRUE if this is from the command line. */ + bfd_boolean cmdline; } search_dirs_type; extern search_dirs_type *search_head; -extern void ldfile_add_arch PARAMS ((const char *)); -extern void ldfile_add_library_path PARAMS ((const char *, boolean cmdline)); -extern void ldfile_open_command_file PARAMS ((const char *name)); -extern void ldfile_open_file PARAMS ((struct lang_input_statement_struct *)); -extern boolean ldfile_try_open_bfd +extern void ldfile_add_arch + PARAMS ((const char *)); +extern void ldfile_add_library_path + PARAMS ((const char *, bfd_boolean cmdline)); +extern void ldfile_open_command_file + PARAMS ((const char *name)); +extern void ldfile_open_file + PARAMS ((struct lang_input_statement_struct *)); +extern bfd_boolean ldfile_try_open_bfd PARAMS ((const char *, struct lang_input_statement_struct *)); extern FILE *ldfile_find_command_file PARAMS ((const char *name, const char *extend)); -extern void ldfile_set_output_arch PARAMS ((const char *)); -extern boolean ldfile_open_file_search +extern void ldfile_set_output_arch + PARAMS ((const char *)); +extern bfd_boolean ldfile_open_file_search PARAMS ((const char *arch, struct lang_input_statement_struct *, const char *lib, const char *suffix)); |