aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/xref.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-03-31 13:25:46 +0000
committerJeff Law <law@gcc.gnu.org>1998-03-31 06:25:46 -0700
commit8d052bc70c4265754427c106f325eb4150b048c9 (patch)
tree5c98b8869e1b55dd06ca73126add91d270941f31 /gcc/cp/xref.c
parent97be8f06eb37d07c53c7aded3a1852a39c926f33 (diff)
downloadgcc-8d052bc70c4265754427c106f325eb4150b048c9.zip
gcc-8d052bc70c4265754427c106f325eb4150b048c9.tar.gz
gcc-8d052bc70c4265754427c106f325eb4150b048c9.tar.bz2
call.c: Include system.h.
* call.c: Include system.h. Remove includes, declarations and defines provided by system.h. * class.c, cvt.c, decl.c, decl2.c, errfn.c error.c: Likewise. * except.c, expr.c friend.c, g++spec.c, init.c, input.c: Likewise. * lex.c, parse.y, pt.c, ptree.c repo.c rtti.c, search.c: Likewise. * semantics.c, sig.c, spew.c, tree.c, typeck.c: Likewise. * typeck2.c, xref.c: Likewise. * Makefile.in: Dependencies updated as appropriate. * Make-lang.in: Likewise. system.h cutover from the cp subdir From-SVN: r18917
Diffstat (limited to 'gcc/cp/xref.c')
-rw-r--r--gcc/cp/xref.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/gcc/cp/xref.c b/gcc/cp/xref.c
index c3c35de..0433089 100644
--- a/gcc/cp/xref.c
+++ b/gcc/cp/xref.c
@@ -22,30 +22,12 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include "tree.h"
-#include <stdio.h>
+#include "system.h"
#include "cp-tree.h"
#include "input.h"
-#include <ctype.h>
-
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
extern char *getpwd PROTO((void));
-#ifdef HAVE_STRING_H
-#include <string.h>
-#endif
-
-#ifdef NEED_DECLARATION_RINDEX
-extern char *rindex ();
-#endif
-
/* The character(s) used to join a directory specification (obtained with
getwd or equivalent) with a non-absolute file name. */