]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/ldfile.c
* ldgram.y (lang_memory_region_type): Make static.
[thirdparty/binutils-gdb.git] / ld / ldfile.c
index 372f79e0987a7ff846fb7e96308ddec1358e767a..13021d81e5b914c90b84f722d35304e2b98015c9 100644 (file)
@@ -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;