From a996cbd49cf5a4e49c99356484b6d09a15126f7a Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Tue, 26 Oct 1999 02:54:22 +0000 Subject: dbxout.c (lastfile, [...]): Constify a char*. * dbxout.c (lastfile, cwd, dbxout_type_method_1, dbxout_symbol_location, dbxout_symbol_name, dbxout_init, dbxout_start_new_source_file, dbxout_source_file, dbxout_source_line, dbxout_finish, dbxout_type_fields, dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol): Constify a char*. (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes. (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED. (dbxout_block): Initialize variable `blocknum'. * dbxout.h (dbxout_init, dbxout_finish, dbxout_start_new_source_file, dbxout_source_file, dbxout_types, dbxout_args, dbxout_source_line): Constify a char*. * dwarfout.c (dwarf_tag_name, dwarf_attr_name, dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name, dwarf_fund_type_name, name_attribute, stmt_list_attribute, low_pc_attribute, high_pc_attribute, body_begin_attribute, body_end_attribute, comp_dir_attribute, sf_names_attribute, src_info_attribute, mac_info_attribute, producer_attribute, lookup_filename, generate_macinfo_entry, fundamental_type_code, dwarfout_line, dwarfout_start_new_source_file, dwarfout_define, dwarfout_undef): Constify a char*. (add_incomplete_type, retry_incomplete_types): Add prototypes. * dwarfout.h (dwarfout_define, dwarfout_undef, dwarfout_start_new_source_file, dwarfout_line): Constify a char*. From-SVN: r30173 --- gcc/dwarfout.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/dwarfout.h') diff --git a/gcc/dwarfout.h b/gcc/dwarfout.h index 29c8dd3..f1c0dd2 100644 --- a/gcc/dwarfout.h +++ b/gcc/dwarfout.h @@ -22,10 +22,10 @@ extern void dwarfout_init PROTO ((FILE *asm_out_file, char *main_input_filename)); extern void dwarfout_finish PROTO ((void)); -extern void dwarfout_define PROTO ((unsigned, char *)); -extern void dwarfout_undef PROTO ((unsigned, char *)); +extern void dwarfout_define PROTO ((unsigned, const char *)); +extern void dwarfout_undef PROTO ((unsigned, const char *)); extern void dwarfout_file_scope_decl PROTO ((tree , int)); -extern void dwarfout_start_new_source_file PROTO ((char *)); +extern void dwarfout_start_new_source_file PROTO ((const char *)); extern void dwarfout_resume_previous_source_file PROTO((unsigned)); extern void dwarfout_begin_function PROTO ((void)); @@ -38,5 +38,5 @@ extern void dwarfout_end_block PROTO ((unsigned)); #ifdef RTX_CODE extern void dwarfout_label PROTO ((rtx)); #endif -extern void dwarfout_line PROTO ((char *, unsigned)); +extern void dwarfout_line PROTO ((const char *, unsigned)); -- cgit v1.1