summaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@gcc.gnu.org>2001-06-10 13:48:04 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2001-06-10 13:48:04 +0000
commit2a2b2d432ebd677d4232eb07666e3be4ea668c5d (patch)
tree0beb92444cb25b52bba6afa1198fdb6b47f5f556 /gcc/toplev.h
parent3f0ae30efc3ebc8978440ff2137de65e194db99f (diff)
downloadgcc-2a2b2d432ebd677d4232eb07666e3be4ea668c5d.tar.gz
Makefile.in (c-parse.o): Depend on diagnostic.h
gcc/ 2001-06-10 Mark Mitchell <mark@codesourcery.com> Gabriel Dos Reis <gdr@codesourcery.com> * Makefile.in (c-parse.o): Depend on diagnostic.h (dwarf2out.o): Likewise. * dwarf2out.c: #include diagnostic.h * toplev.h (warningcount, errorcount, sorrycount): Remove declarations. * toplev.c (warningcount, errorcount, sorrycount): Remove definitions. * diagnostic.h (struct output_buffer): Reorder fields. (diagnostic_kind_count): New macro. (errorcount, warningcount, sorrycount): Define as macros. (diagnostic_report_warnings_p): New macro. (output_state): Add diagnostic_count field. * diagnostic.c (warningcount, errorcount, inhibit_warnings): Remove tentative declaration. (count_error): Use diagnostic_report_warnings_p. * c-parse.in: #include diagnostic.h ch/ 2001-06-10 Gabriel Dos Reis <gdr@codesourcery.com> * decl.c: #include diagnostic.h * actions.c: #include diagnostic.h * Makefile.in (actions.o): Depend on diagnostic.h (decl.o): Depend on diagnostic.h cp/ 2001-06-10 Mark Mitchell <mark@codesourcery.com> Gabriel Dos Reis <gdr@codesourcery.com> * Make-lang.in (cp/call.o): Depend on diagnostic.h (cp/typeck.o): Depend on diagnostic.h (cp/typeck2.o): Depend on diagnostic.h (cp/repo.o): Depend on dignostic.h * typeck.c: #include diagnostic.h (convert_for_initialization): Remove extern declaration for warningcount and errorcount. * call.c: #include diagnostic.h (convert_like_real): Remove extern declaration for warnincount and errorcount. * repo.c: #include diagnostic.h * typeck2.c: #include diagnostic.h From-SVN: r43140
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r--gcc/toplev.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h
index 8d0d2a6de02..ca09e0ef2e8 100644
--- a/gcc/toplev.h
+++ b/gcc/toplev.h
@@ -132,9 +132,6 @@ extern void note_deferral_of_defined_inline_function
PARAMS ((union tree_node *));
extern void note_outlining_of_inline_function
PARAMS ((union tree_node *));
-extern int errorcount;
-extern int warningcount;
-extern int sorrycount;
extern const char *progname;
extern const char *dump_base_name;