-void ldfile_add_arch PARAMS ((CONST char *));
-void ldfile_add_library_path PARAMS ((const char *, boolean cmdline));
-void ldfile_open_command_file PARAMS ((char *name));
-void ldfile_open_file PARAMS ((struct lang_input_statement_struct *));
-FILE *ldfile_find_command_file PARAMS ((char *name, char *extend));
-
-void ldfile_set_output_arch PARAMS ((CONST char *));
+extern void ldfile_add_arch
+ (const char *);
+extern void ldfile_add_library_path
+ (const char *, bfd_boolean cmdline);
+extern void ldfile_open_command_file
+ (const char *name);
+extern void ldfile_open_default_command_file
+ (const char *name);
+extern void ldfile_open_file
+ (struct lang_input_statement_struct *);
+extern bfd_boolean ldfile_try_open_bfd
+ (const char *, struct lang_input_statement_struct *);
+extern void ldfile_set_output_arch
+ (const char *, enum bfd_architecture);
+extern bfd_boolean ldfile_open_file_search
+ (const char *arch, struct lang_input_statement_struct *,
+ const char *lib, const char *suffix);
+
+#endif