summaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-15 14:04:10 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-15 14:04:10 +0000
commit9ea8343030b2c1643c046e56a4212b3ba903134c (patch)
treef904b504d7b0e6016aba69dc8b456c718e0c587c /gcc/toplev.h
parent6a7488afb8f10aff65fddfa4b5e146634d7351ae (diff)
downloadgcc-9ea8343030b2c1643c046e56a4212b3ba903134c.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29433 138bc75d-0d04-0410-961f-82ee72b054a4
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 30080980df6..508cd9d15ec 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 */