aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarfout.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-10-26 02:54:22 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-10-26 02:54:22 +0000
commita996cbd49cf5a4e49c99356484b6d09a15126f7a (patch)
tree11a94960a3c6ab9a420970d2e6841ece8b067535 /gcc/dwarfout.h
parentea09f0326216aca75ffdfb568b43393f46a823ae (diff)
downloadgcc-a996cbd49cf5a4e49c99356484b6d09a15126f7a.zip
gcc-a996cbd49cf5a4e49c99356484b6d09a15126f7a.tar.gz
gcc-a996cbd49cf5a4e49c99356484b6d09a15126f7a.tar.bz2
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
Diffstat (limited to 'gcc/dwarfout.h')
-rw-r--r--gcc/dwarfout.h8
1 files changed, 4 insertions, 4 deletions
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));