diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-26 02:54:22 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-26 02:54:22 +0000 |
commit | 12fc9462de43808cbc51b752d43af145da63f30e (patch) | |
tree | 11a94960a3c6ab9a420970d2e6841ece8b067535 /gcc/dwarfout.h | |
parent | 13823aa850e64a944aec6f0b01d291bc7f60a850 (diff) | |
download | gcc-12fc9462de43808cbc51b752d43af145da63f30e.tar.gz |
* 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*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30173 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarfout.h')
-rw-r--r-- | gcc/dwarfout.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/dwarfout.h b/gcc/dwarfout.h index 29c8dd39d5f..f1c0dd24947 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)); |