aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/repo.c
diff options
context:
space:
mode:
authorAndrew Cagney <ac131313@redhat.com>2001-08-02 19:31:58 +0000
committerAndrew Cagney <ac131313@redhat.com>2001-08-02 19:31:58 +0000
commitaeee386e1ffc85236e1ceb5df80b9b9e7eb5b4ea (patch)
tree78bb153c3ee4f08cbd79184e5683aad697514369 /gcc/cp/repo.c
parentfaf446a022d6c3440612ccabdc5753fef451c618 (diff)
* repo.c (get_base_filename): Change return value to const char
pointer. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@44581 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/repo.c')
-rw-r--r--gcc/cp/repo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c
index 74c5ee86b12..796add92952 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;
{