aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
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/cp
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/cp')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/typeck2.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index f6fbcd6..e6cdab7 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+1999-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * typeck2.c (ack): Don't declare progname.
+
1999-09-15 Nathan Sidwell <nathan@acm.org>
* typeck.c (expr_sizeof): Reinstall and augment OFFSET_REF
diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
index 1374c79..4b37e48 100644
--- a/gcc/cp/typeck2.c
+++ b/gcc/cp/typeck2.c
@@ -253,7 +253,6 @@ ack VPROTO ((const char *msg, ...))
const char *msg;
#endif
va_list ap;
- extern char * progname;
VA_START (ap, msg);