aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/repo.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1997-08-20 20:50:39 -0400
committerJason Merrill <jason@gcc.gnu.org>1997-08-20 20:50:39 -0400
commit49c249e1c8aecde11d2166d5bfc6789cb3882172 (patch)
treec9fa739ae50f1adb0f63b8a81e6fb2113c2dacc5 /gcc/cp/repo.c
parent177873a5216e3c6c526885d9fcb836c17e6e0cd4 (diff)
downloadgcc-49c249e1c8aecde11d2166d5bfc6789cb3882172.zip
gcc-49c249e1c8aecde11d2166d5bfc6789cb3882172.tar.gz
gcc-49c249e1c8aecde11d2166d5bfc6789cb3882172.tar.bz2
[multiple changes]
Wed Aug 20 17:25:08 1997 Jason Merrill <jason@yorick.cygnus.com> * call.c (is_subseq): Don't try to be clever. Wed Aug 20 03:13:36 1997 H.J. Lu (hjl@gnu.ai.mit.edu) * parse.y, pt.c: Include "except.h". * call.c, class.c, class.h, cp-tree.h, cvt.c, decl.c, decl2.c, error.c, except.c, expr.c, friend.c, g++spec.c, init.c, input.c, lex.c, lex.h, method.c, parse.y, pt.c, repo.c, rtti.c, search.c, sig.c, spew.c, tree.c, typeck.c, typeck2.c, xref.c: Finish prototyping. Wed Aug 20 01:34:40 1997 Jason Merrill <jason@yorick.cygnus.com> * decl2.c (mark_vtable_entries): Instead of replacing pure virtuals with a reference to __pure_virtual, copy the decl and change the RTL. From-SVN: r14868
Diffstat (limited to 'gcc/cp/repo.c')
-rw-r--r--gcc/cp/repo.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c
index b979da7..001a943 100644
--- a/gcc/cp/repo.c
+++ b/gcc/cp/repo.c
@@ -32,9 +32,25 @@ Boston, MA 02111-1307, USA. */
#include "input.h"
#include "obstack.h"
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
extern char * rindex ();
+#endif
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#else
extern char * getenv ();
-extern char * getpwd ();
+#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 *));
+static char *afgets PROTO((FILE *));
+static void reopen_repo_file_for_write PROTO((void));
static tree pending_repo;
static tree original_repo;