diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-03-10 16:33:57 +0000 |
---|---|---|
committer | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-03-10 16:33:57 +0000 |
commit | faca36711b14e159c60e28aa957d3fdf497a8d6c (patch) | |
tree | d953f81b3d415118c0d7a5ca54539ad4d240cdd3 /gcc/cp/repo.c | |
parent | 80781dda5cd7d4f942d694a26e186d2dfbfcee40 (diff) |
* toplev.c (file_name_nondirectory): Remove.
* toplev.h: Similarly.
* dwarf2out.c (compute_section_prefix): Use lbasename instead
of file_name_nondirectory.
* cp/lex.c: Delete duplicate pending_lang_change.
* cp/lex.c (handle_pragma_interface, handle_pragma_implementation):
Similarly.
* cp/repo.c (get_base_filename, open_repo_file): Similarly.
* cp/cp-tree.h: Remove file_name_nondirectory prototype.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@40369 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/repo.c')
-rw-r--r-- | gcc/cp/repo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c index e86e1f0805b..897648a0b28 100644 --- a/gcc/cp/repo.c +++ b/gcc/cp/repo.c @@ -268,7 +268,7 @@ get_base_filename (filename) return NULL; } - return file_name_nondirectory (filename); + return lbasename (filename); } static void @@ -281,7 +281,7 @@ open_repo_file (filename) if (s == NULL) return; - p = file_name_nondirectory (s); + p = lbasename (s); p = strrchr (p, '.'); if (! p) p = s + strlen (s); |