aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-08-03 00:13:45 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-08-03 00:13:45 +0000
commitd4c285454fe1c960af3ae8b038034b26584bc0a5 (patch)
tree8e496fdda713978014077fcc8a6f566667a9fc23
parente1c49ab40e7b8d8dbd2a08a4b1b1b683d507ed1b (diff)
downloadgcc-d4c285454fe1c960af3ae8b038034b26584bc0a5.zip
gcc-d4c285454fe1c960af3ae8b038034b26584bc0a5.tar.gz
gcc-d4c285454fe1c960af3ae8b038034b26584bc0a5.tar.bz2
lex.c (errorcount, sorrycount): Don't declare.
* lex.c (errorcount, sorrycount): Don't declare. * repo.c (errorcount, sorrycount): Likewise. * typeck2.c (errorcount, sorrycount): Likewise. From-SVN: r28427
-rw-r--r--gcc/cp/ChangeLog6
-rw-r--r--gcc/cp/lex.c2
-rw-r--r--gcc/cp/repo.c1
-rw-r--r--gcc/cp/typeck2.c3
4 files changed, 6 insertions, 6 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 0858a28..4a57298 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,9 @@
+1999-08-02 Mark Mitchell <mark@codesourcery.com>
+
+ * lex.c (errorcount, sorrycount): Don't declare.
+ * repo.c (errorcount, sorrycount): Likewise.
+ * typeck2.c (errorcount, sorrycount): Likewise.
+
1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
* call.c (convert_default_arg, build_over_call): Change all uses of
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index 3d1a837..f9fc681 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -112,7 +112,6 @@ extern cpp_reader parse_in;
extern cpp_options parse_options;
extern unsigned char *yy_cur, *yy_lim;
extern enum cpp_token cpp_token;
-extern int errorcount;
#else
FILE *finput;
#endif
@@ -415,7 +414,6 @@ lang_init ()
void
lang_finish ()
{
- extern int errorcount, sorrycount;
if (flag_gnu_xref) GNU_xref_end (errorcount+sorrycount);
}
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c
index 9fa8e5c..be8ee42 100644
--- a/gcc/cp/repo.c
+++ b/gcc/cp/repo.c
@@ -50,7 +50,6 @@ static FILE *repo_file;
static char *old_args, *old_dir, *old_main;
extern int flag_use_repository;
-extern int errorcount, sorrycount;
extern struct obstack temporary_obstack;
extern struct obstack permanent_obstack;
diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
index 865ea2d..e6a6088 100644
--- a/gcc/cp/typeck2.c
+++ b/gcc/cp/typeck2.c
@@ -40,9 +40,6 @@ Boston, MA 02111-1307, USA. */
static tree process_init_constructor PROTO((tree, tree, tree *));
static void ack PVPROTO ((const char *, ...)) ATTRIBUTE_PRINTF_1;
-extern int errorcount;
-extern int sorrycount;
-
/* Print an error message stemming from an attempt to use
BASETYPE as a base class for TYPE. */