aboutsummaryrefslogtreecommitdiff
path: root/ld/ldindr.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/ldindr.c
parent2c6635a46f894fc4e3c0ea6a9023f0ae43b3451f (diff)
downloadgdb-fcf276c4958f7cc906ec389f003aa2a713c98528.zip
gdb-fcf276c4958f7cc906ec389f003aa2a713c98528.tar.gz
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/ldindr.c')
-rw-r--r--ld/ldindr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ld/ldindr.c b/ld/ldindr.c
index f52c950..88152eb 100644
--- a/ld/ldindr.c
+++ b/ld/ldindr.c
@@ -43,10 +43,9 @@
#include "sysdep.h"
#include "ld.h"
#include "ldsym.h"
+#include "ldmain.h"
#include "ldmisc.h"
-
-
static asymbol **
move_it (a_list, b_list)
asymbol **a_list;
@@ -90,7 +89,6 @@ void
add_indirect (ptr)
asymbol **ptr;
{
- asymbol **p;
ldsym_type *lgs = ldsym_get((*ptr)->name);
ldsym_type *new = ldsym_get(((asymbol *)((*ptr)->value))->name);