OSDN Git Service

* lex.c (errorcount, sorrycount): Don't declare.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Aug 1999 00:13:45 +0000 (00:13 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Aug 1999 00:13:45 +0000 (00:13 +0000)
* repo.c (errorcount, sorrycount): Likewise.
* typeck2.c (errorcount, sorrycount): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28427 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/lex.c
gcc/cp/repo.c
gcc/cp/typeck2.c

index 0858a28..4a57298 100644 (file)
@@ -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
index 3d1a837..f9fc681 100644 (file)
@@ -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);
 }
 
index 9fa8e5c..be8ee42 100644 (file)
@@ -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;
 
index 865ea2d..e6a6088 100644 (file)
@@ -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.  */