Commit 026c3f13 by Andrew Cagney Committed by Andrew Cagney

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
parent 6dda00f0
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> 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
Kill -fhonor-std. Kill -fhonor-std.
......
...@@ -37,7 +37,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -37,7 +37,7 @@ Boston, MA 02111-1307, USA. */
static tree repo_get_id PARAMS ((tree)); static tree repo_get_id PARAMS ((tree));
static char *extract_string PARAMS ((char **)); 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 void open_repo_file PARAMS ((const char *));
static char *afgets PARAMS ((FILE *)); static char *afgets PARAMS ((FILE *));
static void reopen_repo_file_for_write PARAMS ((void)); static void reopen_repo_file_for_write PARAMS ((void));
...@@ -246,7 +246,7 @@ extract_string (pp) ...@@ -246,7 +246,7 @@ extract_string (pp)
return obstack_finish (&temporary_obstack); return obstack_finish (&temporary_obstack);
} }
static char * const char *
get_base_filename (filename) get_base_filename (filename)
const char *filename; const char *filename;
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment