aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Cagney <ac131313@redhat.com>2001-08-02 19:31:58 +0000
committerAndrew Cagney <cagney@gcc.gnu.org>2001-08-02 19:31:58 +0000
commit026c3f133580e5233002dd5e39e1f2ac770cd041 (patch)
tree78bb153c3ee4f08cbd79184e5683aad697514369 /gcc
parent6dda00f0182dd46dac0721416dca8dda077e611d (diff)
downloadgcc-026c3f133580e5233002dd5e39e1f2ac770cd041.zip
gcc-026c3f133580e5233002dd5e39e1f2ac770cd041.tar.gz
gcc-026c3f133580e5233002dd5e39e1f2ac770cd041.tar.bz2
repo.c (get_base_filename): Change return value to const char pointer.
* repo.c (get_base_filename): Change return value to const char pointer. From-SVN: r44581
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/repo.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 7474c83..f64de9c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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.
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c
index 74c5ee8..796add9 100644
--- a/gcc/cp/repo.c
+++ b/gcc/cp/repo.c
@@ -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;
{