summaryrefslogtreecommitdiff
path: root/ld/ldfile.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-11-30 08:39:46 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-11-30 08:39:46 +0000
commit21bd0c8d7a860a284f4f85a72fc26721ec87aedd (patch)
tree9a0470dbae9d01002a20b39e95a68f81bb4eaaa8 /ld/ldfile.h
parentfdb71d9a52a1eaa32d8b51672f63abe50896d4a0 (diff)
downloadbinutils-redhat-21bd0c8d7a860a284f4f85a72fc26721ec87aedd.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.h25
1 files changed, 15 insertions, 10 deletions
diff --git a/ld/ldfile.h b/ld/ldfile.h
index 11a42322ab..050a989615 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));