Commit d4c28545 by Mark Mitchell Committed by Mark Mitchell

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
parent e1c49ab4
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> 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
* call.c (convert_default_arg, build_over_call): Change all uses of * call.c (convert_default_arg, build_over_call): Change all uses of
......
...@@ -112,7 +112,6 @@ extern cpp_reader parse_in; ...@@ -112,7 +112,6 @@ extern cpp_reader parse_in;
extern cpp_options parse_options; extern cpp_options parse_options;
extern unsigned char *yy_cur, *yy_lim; extern unsigned char *yy_cur, *yy_lim;
extern enum cpp_token cpp_token; extern enum cpp_token cpp_token;
extern int errorcount;
#else #else
FILE *finput; FILE *finput;
#endif #endif
...@@ -415,7 +414,6 @@ lang_init () ...@@ -415,7 +414,6 @@ lang_init ()
void void
lang_finish () lang_finish ()
{ {
extern int errorcount, sorrycount;
if (flag_gnu_xref) GNU_xref_end (errorcount+sorrycount); if (flag_gnu_xref) GNU_xref_end (errorcount+sorrycount);
} }
......
...@@ -50,7 +50,6 @@ static FILE *repo_file; ...@@ -50,7 +50,6 @@ static FILE *repo_file;
static char *old_args, *old_dir, *old_main; static char *old_args, *old_dir, *old_main;
extern int flag_use_repository; extern int flag_use_repository;
extern int errorcount, sorrycount;
extern struct obstack temporary_obstack; extern struct obstack temporary_obstack;
extern struct obstack permanent_obstack; extern struct obstack permanent_obstack;
......
...@@ -40,9 +40,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -40,9 +40,6 @@ Boston, MA 02111-1307, USA. */
static tree process_init_constructor PROTO((tree, tree, tree *)); static tree process_init_constructor PROTO((tree, tree, tree *));
static void ack PVPROTO ((const char *, ...)) ATTRIBUTE_PRINTF_1; 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 /* Print an error message stemming from an attempt to use
BASETYPE as a base class for TYPE. */ BASETYPE as a base class for TYPE. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment