From 7adfcfed370b82158b6351a7854baa57a69b8a08 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Wed, 15 Sep 1999 14:04:10 +0000 Subject: rtl.h (get_insn_name, [...]): Add prototypes. * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes. * print-rtl.c (get_insn_name): Remove prototype. * toplev.h (progname): Declare const. * toplev.c (init_decl_processing, init_obstacks, init_tree_codes, init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info, dump_sched_info, dump_local_alloc, regset_release_memory, print_rtl, print_rtl_with_bb, rest_of_decl_compilation, error_with_file_and_line, error_with_decl, error_for_asm, error, fatal, warning_with_file_and_line, warning_with_decl, warning, pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Remove redundant prototypes. (notice, check_lang_option, report_file_and_line, vnotice, mark_file_stack): Add static prototype. (set_fatal_function): Add prototype. (vnotice, report_file_and_line, set_fatal_function, check_lang_option): Constify a char*. (main): Prototype. Call return, not exit. cp: * typeck2.c (ack): Don't declare progname. From-SVN: r29433 --- gcc/toplev.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/toplev.h') diff --git a/gcc/toplev.h b/gcc/toplev.h index 3008098..508cd9d1 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -130,4 +130,6 @@ extern void check_global_declarations PROTO ((union tree_node **, int)); extern int errorcount; extern int warningcount; extern int sorrycount; + +extern const char *progname; #endif /* __GCC_TOPLEV_H */ -- cgit v1.1