diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-04-28 23:54:33 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2005-04-28 23:54:33 +0000 |
commit | cb0933dd018e9060c4202c8a1bb34c0d90ba0344 (patch) | |
tree | bd33ada2e7030b0f20270d740476db15a51f23f7 /ld/ldfile.c | |
parent | 39f34a3d168a767928f1d31aaae6572bb425695c (diff) | |
download | binutils-redhat-cb0933dd018e9060c4202c8a1bb34c0d90ba0344.tar.gz |
* 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/ldfile.c')
-rw-r--r-- | ld/ldfile.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c index 372f79e098..13021d81e5 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -45,12 +45,12 @@ enum bfd_architecture ldfile_output_architecture; search_dirs_type * search_head; #ifdef VMS -char * slash = ""; +static char * slash = ""; #else #if defined (_WIN32) && ! defined (__CYGWIN32__) -char * slash = "\\"; +static char * slash = "\\"; #else -char * slash = "/"; +static char * slash = "/"; #endif #endif @@ -462,7 +462,7 @@ try_open (const char *name, const char *exten) /* Try to open NAME; if that fails, look for it in any directories specified with -L, without and with EXTEND appended. */ -FILE * +static FILE * ldfile_find_command_file (const char *name, const char *extend) { search_dirs_type *search; |