repo.c (get_base_filename): Change return value to const char pointer.
authorAndrew Cagney <ac131313@redhat.com>
Thu, 2 Aug 2001 19:31:58 +0000 (19:31 +0000)
committerAndrew Cagney <cagney@gcc.gnu.org>
Thu, 2 Aug 2001 19:31:58 +0000 (19:31 +0000)
* repo.c (get_base_filename): Change return value to const char
pointer.

From-SVN: r44581

gcc/cp/ChangeLog
gcc/cp/repo.c

index 7474c83f264f7772d8e4c7b9d31db336ce01c756..f64de9c4e7fefe4d43eb9858259f76bb0288f532 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-01  Andrew Cagney  <ac131313@redhat.com>
+
+       * repo.c (get_base_filename): Change return value to const char
+       pointer.
+
 2001-08-02  Nathan Sidwell  <nathan@codesourcery.com>
 
        Kill -fhonor-std.
index 74c5ee86b128dc15e47cfe09a076e853550fc3e5..796add92952da7599fa6597741bc432e39430bf9 100644 (file)
@@ -37,7 +37,7 @@ Boston, MA 02111-1307, USA.  */
 
 static tree repo_get_id PARAMS ((tree));
 static char *extract_string PARAMS ((char **));
-static char *get_base_filename PARAMS ((const char *));
+static const char *get_base_filename PARAMS ((const char *));
 static void open_repo_file PARAMS ((const char *));
 static char *afgets PARAMS ((FILE *));
 static void reopen_repo_file_for_write PARAMS ((void));
@@ -246,7 +246,7 @@ extract_string (pp)
   return obstack_finish (&temporary_obstack);
 }
 
-static char *
+const char *
 get_base_filename (filename)
      const char *filename;
 {