aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/repo.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/repo.c')
-rw-r--r--gcc/cp/repo.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c
index 27a1f4d..ed68233 100644
--- a/gcc/cp/repo.c
+++ b/gcc/cp/repo.c
@@ -26,28 +26,15 @@ Boston, MA 02111-1307, USA. */
explicit code. */
#include "config.h"
-#include <stdio.h>
+#include "system.h"
#include "tree.h"
#include "cp-tree.h"
#include "input.h"
#include "obstack.h"
-#ifdef HAVE_STRING_H
-#include <string.h>
-#endif
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#else
-extern char * getenv ();
-#endif
-
-#ifdef NEED_DECLARATION_RINDEX
-extern char *rindex ();
-#endif
extern char *getpwd PROTO((void));
static tree repo_get_id PROTO((tree));
-static char *save_string PROTO((char *, int));
static char *extract_string PROTO((char **));
static char *get_base_filename PROTO((char *));
static void open_repo_file PROTO((char *));
@@ -210,14 +197,6 @@ repo_template_instantiated (t, extern_p)
}
}
-static char *
-save_string (s, len)
- char *s;
- int len;
-{
- return obstack_copy0 (&temporary_obstack, s, len);
-}
-
/* Parse a reasonable subset of shell quoting syntax. */
static char *