aboutsummaryrefslogtreecommitdiff
path: root/ld/ldfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldfile.c')
-rw-r--r--ld/ldfile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c
index 372f79e..13021d8 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;