aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-03-10 16:33:57 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-03-10 16:33:57 +0000
commitb3e68a792254d5e814e1f2797d66c7581dd63198 (patch)
treed953f81b3d415118c0d7a5ca54539ad4d240cdd3 /gcc/dwarf2out.c
parentea23d5400fa97028252affe38bac9ee6cb861f8f (diff)
downloadgcc-b3e68a792254d5e814e1f2797d66c7581dd63198.zip
gcc-b3e68a792254d5e814e1f2797d66c7581dd63198.tar.gz
gcc-b3e68a792254d5e814e1f2797d66c7581dd63198.tar.bz2
toplev.c (file_name_nondirectory): Remove.
* 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. From-SVN: r40369
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index adf0204..573bc91 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -4972,7 +4972,7 @@ compute_section_prefix (unit_die)
die_checksum (unit_die, &ctx);
md5_finish_ctx (&ctx, checksum);
- p = file_name_nondirectory (get_AT_string (unit_die, DW_AT_name));
+ p = lbasename (get_AT_string (unit_die, DW_AT_name));
name = (char *) alloca (strlen (p) + 64);
sprintf (name, "%s.", p);