aboutsummaryrefslogtreecommitdiff
path: root/ld/ldsym.h
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldsym.h')
-rw-r--r--ld/ldsym.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/ldsym.h b/ld/ldsym.h
index 49fcb80..2efb392 100644
--- a/ld/ldsym.h
+++ b/ld/ldsym.h
@@ -61,6 +61,8 @@ typedef struct user_symbol_struct
int flags;
} ldsym_type;
+extern ldsym_type *symbol_head;
+
extern CONST char *keepsyms_file;
extern int kept_syms;
@@ -71,7 +73,6 @@ void ldsym_write PARAMS ((void));
boolean ldsym_undefined PARAMS ((CONST char *));
#define FOR_EACH_LDSYM(x) \
- extern ldsym_type *symbol_head; \
ldsym_type *x; \
for (x = symbol_head; x != (ldsym_type *)NULL; x = x->next)