summaryrefslogtreecommitdiff
path: root/ld/mri.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-04-28 23:54:33 +0000
committerBen Elliston <bje@au.ibm.com>2005-04-28 23:54:33 +0000
commit279e75dcef1313cc67233e11c43ec6538cb8706f (patch)
tree6640866e1add13c0e36d228a76264e3f2dc8b1cc /ld/mri.c
parentf07e55f031dad1c65dfe580853117375e50c3a56 (diff)
* ldgram.y (lang_memory_region_type): Make static.
(ldgram_want_filename): Likewise. * ldemul.c (ld_emulation): Make static. * ldfile.h (ldfile_find_command_file): Remove extern. * ldfile.c (ldfile_find_command_file): Make static. * ldlang.h (unique_section_list): Remove extern declaration. * ldlang.c (unique_section_list): Make static. * mri.h (symbol_truncate): Remove extern declaration. * mri.c (symbol_truncate): Make static. (order, only_load, address, alias): Likewise. (alignment, subalignment): Likewise.
Diffstat (limited to 'ld/mri.c')
-rw-r--r--ld/mri.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ld/mri.c b/ld/mri.c
index 65e1a2ec61..3b4e89b0aa 100644
--- a/ld/mri.c
+++ b/ld/mri.c
@@ -44,14 +44,14 @@ struct section_name_struct {
int ok_to_load;
};
-unsigned int symbol_truncate = 10000;
-struct section_name_struct *order;
-struct section_name_struct *only_load;
-struct section_name_struct *address;
-struct section_name_struct *alias;
-
-struct section_name_struct *alignment;
-struct section_name_struct *subalignment;
+static unsigned int symbol_truncate = 10000;
+static struct section_name_struct *order;
+static struct section_name_struct *only_load;
+static struct section_name_struct *address;
+static struct section_name_struct *alias;
+
+static struct section_name_struct *alignment;
+static struct section_name_struct *subalignment;
static struct section_name_struct **
lookup (const char *name, struct section_name_struct **list)