aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-07-11 03:42:41 +0000
committerAlan Modra <amodra@gmail.com>2000-07-11 03:42:41 +0000
commitb71e277823b0b8e12b2f53f6fe77a9b401357407 (patch)
tree0cefb993b034dc906661c851e3f18ebbefb83164 /ld/ldlang.h
parent1aea3bb85170ddc918bbaa9b394be92242576391 (diff)
downloadgdb-b71e277823b0b8e12b2f53f6fe77a9b401357407.zip
gdb-b71e277823b0b8e12b2f53f6fe77a9b401357407.tar.gz
gdb-b71e277823b0b8e12b2f53f6fe77a9b401357407.tar.bz2
Remove some forward declarations in ldemul.h and ldfile.h, and
re-arrange header include order. Fix shadowing warnings in ldlang.h Fix compile errors in mpw-elfmips.c
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 553db4b..1a428c6 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -379,6 +379,7 @@ extern boolean delete_output_file_on_failure;
extern const char *entry_symbol;
extern boolean entry_from_cmdline;
+extern lang_statement_list_type file_chain;
extern void lang_init PARAMS ((void));
extern struct memory_region_struct *lang_memory_region_lookup
@@ -430,7 +431,6 @@ extern bfd_vma lang_do_assignments
bfd_vma dot));
#define LANG_FOR_EACH_INPUT_STATEMENT(statement) \
- extern lang_statement_list_type file_chain; \
lang_input_statement_type *statement; \
for (statement = (lang_input_statement_type *)file_chain.head;\
statement != (lang_input_statement_type *)NULL; \