aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/xref.c
diff options
context:
space:
mode:
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. */