aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.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/dbxout.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/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 1e45fa6..0d34f3a 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));