From b3e68a792254d5e814e1f2797d66c7581dd63198 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 10 Mar 2001 16:33:57 +0000 Subject: 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 --- gcc/dwarf2out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/dwarf2out.c') 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); -- cgit v1.1