aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-09-15 14:04:10 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-09-15 14:04:10 +0000
commit7adfcfed370b82158b6351a7854baa57a69b8a08 (patch)
treef904b504d7b0e6016aba69dc8b456c718e0c587c /gcc/toplev.h
parent04cabffc4ef605e2868dba5f19ad387f18aa72b4 (diff)
downloadgcc-7adfcfed370b82158b6351a7854baa57a69b8a08.zip
gcc-7adfcfed370b82158b6351a7854baa57a69b8a08.tar.gz
gcc-7adfcfed370b82158b6351a7854baa57a69b8a08.tar.bz2
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
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r--gcc/toplev.h2
1 files changed, 2 insertions, 0 deletions
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 */