Commit e7a587ef by Jeffrey A Law Committed by Jeff Law

* class.c, Make sure system.h is included just after config.h.

        Delete lingering stdio and errno references too.
        * decl.c, errfn.c, parse.y, ptree.c search.c, xrefc.: Likewwise.

From-SVN: r18936
parent 75d3a15b
Wed Apr 1 18:22:25 1998 Jeffrey A Law (law@cygnus.com)
* class.c, Make sure system.h is included just after config.h.
Delete lingering stdio and errno references too.
* decl.c, errfn.c, parse.y, ptree.c search.c, xrefc.: Likewwise.
Wed Apr 1 15:38:36 1998 Jason Merrill <jason@yorick.cygnus.com> Wed Apr 1 15:38:36 1998 Jason Merrill <jason@yorick.cygnus.com>
* friend.c (is_friend): Fix access control for local classes. * friend.c (is_friend): Fix access control for local classes.
......
...@@ -23,8 +23,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -23,8 +23,8 @@ Boston, MA 02111-1307, USA. */
/* High-level class interface. */ /* High-level class interface. */
#include "config.h" #include "config.h"
#include "tree.h"
#include "system.h" #include "system.h"
#include "tree.h"
#include "cp-tree.h" #include "cp-tree.h"
#include "flags.h" #include "flags.h"
#include "rtl.h" #include "rtl.h"
......
...@@ -29,7 +29,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,7 +29,6 @@ Boston, MA 02111-1307, USA. */
#include "config.h" #include "config.h"
#include "system.h" #include "system.h"
#include <stdio.h>
#include "tree.h" #include "tree.h"
#include "rtl.h" #include "rtl.h"
#include "flags.h" #include "flags.h"
......
...@@ -20,8 +20,8 @@ the Free Software Foundation, 59 Temple Place - Suite 330, ...@@ -20,8 +20,8 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#include "config.h" #include "config.h"
#include "tree.h"
#include "system.h" #include "system.h"
#include "tree.h"
/* cp_printer is the type of a function which converts an argument into /* cp_printer is the type of a function which converts an argument into
a string for digestion by printf. The cp_printer function should deal a string for digestion by printf. The cp_printer function should deal
......
...@@ -117,10 +117,6 @@ char *language_string = "GNU C++"; ...@@ -117,10 +117,6 @@ char *language_string = "GNU C++";
extern tree void_list_node; extern tree void_list_node;
extern struct obstack permanent_obstack; extern struct obstack permanent_obstack;
#ifndef errno
extern int errno;
#endif
extern int end_of_file; extern int end_of_file;
/* Like YYERROR but do call yyerror. */ /* Like YYERROR but do call yyerror. */
......
...@@ -49,10 +49,6 @@ char *language_string = "GNU C++"; ...@@ -49,10 +49,6 @@ char *language_string = "GNU C++";
extern tree void_list_node; extern tree void_list_node;
extern struct obstack permanent_obstack; extern struct obstack permanent_obstack;
#ifndef errno
extern int errno;
#endif
extern int end_of_file; extern int end_of_file;
/* Like YYERROR but do call yyerror. */ /* Like YYERROR but do call yyerror. */
......
...@@ -21,8 +21,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -21,8 +21,8 @@ Boston, MA 02111-1307, USA. */
#include "config.h" #include "config.h"
#include "tree.h"
#include "system.h" #include "system.h"
#include "tree.h"
#include "cp-tree.h" #include "cp-tree.h"
void void
......
...@@ -23,8 +23,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -23,8 +23,8 @@ Boston, MA 02111-1307, USA. */
/* High-level class interface. */ /* High-level class interface. */
#include "config.h" #include "config.h"
#include "tree.h"
#include "system.h" #include "system.h"
#include "tree.h"
#include "cp-tree.h" #include "cp-tree.h"
#include "obstack.h" #include "obstack.h"
#include "flags.h" #include "flags.h"
......
...@@ -21,8 +21,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -21,8 +21,8 @@ Boston, MA 02111-1307, USA. */
#include "config.h" #include "config.h"
#include "tree.h"
#include "system.h" #include "system.h"
#include "tree.h"
#include "cp-tree.h" #include "cp-tree.h"
#include "input.h" #include "input.h"
......
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