aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2001-05-18 18:30:40 +0000
committerPer Bothner <per@bothner.com>2001-05-18 18:30:40 +0000
commitee2dd5f88a9d22fb065341aa07f5a8491fd99699 (patch)
treeade8cbb40ea184cc92c2c29d949375e0bad35a18
parentf6f9913b5c3fa52ef4f212dba12b7b5deed1d3da (diff)
Changes needed for java/jvspec.c
* gcc.h (n_infiles, outfiles): Add declarations. * gcc.c (n_infiles, outfiles): Mske no longer static. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@42269 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/gcc.c4
-rw-r--r--gcc/gcc.h6
3 files changed, 14 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 54bea558644..3dfed4d1309 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2001-05-18 Per Bothner <per@bothner.com>
+
+ Changes needed for java/jvspec.c
+ * gcc.h (n_infiles, outfiles): Add declarations.
+ * gcc.c (n_infiles, outfiles): Mske no longer static.
+
Fri May 18 10:14:42 2001 Jeffrey A Law (law@cygnus.com)
* config/pa/som.h (EXCEPTION_SECTION): Define.
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 7d99417ed97..e613291b0c5 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2804,7 +2804,7 @@ struct infile
static struct infile *infiles;
-static int n_infiles;
+int n_infiles;
/* This counts the number of libraries added by lang_specific_driver, so that
we can tell if there were any user supplied any files or libraries. */
@@ -2813,7 +2813,7 @@ static int added_libraries;
/* And a vector of corresponding output files is made up later. */
-static const char **outfiles;
+const char **outfiles;
/* Used to track if none of the -B paths are used. */
static int warn_B;
diff --git a/gcc/gcc.h b/gcc/gcc.h
index 1c782c73bb6..d92db458cea 100644
--- a/gcc/gcc.h
+++ b/gcc/gcc.h
@@ -42,7 +42,13 @@ extern void lang_specific_driver PARAMS ((int *, const char *const **, int *));
/* Called before linking. Returns 0 on success and -1 on failure. */
extern int lang_specific_pre_link PARAMS ((void));
+extern int n_infiles;
+
/* Number of extra output files that lang_specific_pre_link may generate. */
extern int lang_specific_extra_outfiles;
+/* A vector of corresponding output files is made up later. */
+
+extern const char **outfiles;
+
#endif /* ! __GCC_H__ */