aboutsummaryrefslogtreecommitdiff
path: root/ld/relax.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-12-11 22:55:55 +0000
committerIan Lance Taylor <ian@airs.com>1993-12-11 22:55:55 +0000
commitfcf276c4958f7cc906ec389f003aa2a713c98528 (patch)
tree6f9a19c2ca8cac0625898fa485a46ffeb17c6382 /ld/relax.c
parent2c6635a46f894fc4e3c0ea6a9023f0ae43b3451f (diff)
downloadfsf-binutils-gdb-fcf276c4958f7cc906ec389f003aa2a713c98528.zip
fsf-binutils-gdb-fcf276c4958f7cc906ec389f003aa2a713c98528.tar.gz
fsf-binutils-gdb-fcf276c4958f7cc906ec389f003aa2a713c98528.tar.bz2
Made many changes to eliminate gcc warnings. Made various
cosmetic changes, declared various things in header files, removed various extern declarations from .c files. No substantive changes.
Diffstat (limited to 'ld/relax.c')
-rw-r--r--ld/relax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/relax.c b/ld/relax.c
index eb3f6e0..9aced76 100644
--- a/ld/relax.c
+++ b/ld/relax.c
@@ -31,8 +31,9 @@ Tie together all the interseting blocks
#include "coff/internal.h"
#include "sysdep.h"
-#include "ldlang.h"
#include "ld.h"
+#include "ldexp.h"
+#include "ldlang.h"
#include "ldwrite.h"
#include "ldmisc.h"
#include "ldsym.h"
@@ -200,7 +201,6 @@ boolean
relax_section (this_ptr)
lang_statement_union_type ** this_ptr;
{
- extern lang_input_statement_type *script_file;
lang_input_section_type *is = &((*this_ptr)->input_section);
asection *i = is->section;
if (!(i->owner->flags & BFD_IS_RELAXABLE))