summaryrefslogtreecommitdiff
path: root/gcc/dbxout.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-26 02:54:22 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-26 02:54:22 +0000
commit12fc9462de43808cbc51b752d43af145da63f30e (patch)
tree11a94960a3c6ab9a420970d2e6841ece8b067535 /gcc/dbxout.h
parent13823aa850e64a944aec6f0b01d291bc7f60a850 (diff)
downloadgcc-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/dbxout.h')
-rw-r--r--gcc/dbxout.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/dbxout.h b/gcc/dbxout.h
index 1e45fa624cb..0d34f3ab819 100644
--- a/gcc/dbxout.h
+++ b/gcc/dbxout.h
@@ -18,16 +18,19 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-extern void dbxout_init PROTO ((FILE *, char *, tree));
-extern void dbxout_finish PROTO ((FILE *, char *));
+extern void dbxout_init PROTO ((FILE *, const char *, tree));
+extern void dbxout_finish PROTO ((FILE *, const char *));
-extern void dbxout_start_new_source_file PROTO ((char *));
+extern void dbxout_start_new_source_file PROTO ((const char *));
extern void dbxout_resume_previous_source_file PROTO ((void));
+extern void dbxout_source_file PROTO ((FILE *, const char *));
+extern void dbxout_types PROTO ((tree));
+extern void dbxout_args PROTO ((tree));
extern void dbxout_symbol PROTO ((tree, int));
extern void dbxout_parms PROTO ((tree));
extern void dbxout_reg_parms PROTO ((tree));
extern void dbxout_syms PROTO ((tree));
extern void dbxout_function PROTO ((tree));
-extern void dbxout_source_line PROTO ((FILE *, char*, int));
+extern void dbxout_source_line PROTO ((FILE *, const char *, int));
extern void dbxout_begin_function PROTO ((tree));