OSDN Git Service

Changes needed for java/jvspec.c
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 May 2001 18:30:40 +0000 (18:30 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 May 2001 18:30:40 +0000 (18:30 +0000)
        * gcc.h (n_infiles, outfiles):  Add declarations.
        * gcc.c (n_infiles, outfiles):  Mske no longer static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42269 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c
gcc/gcc.h

index 54bea55..3dfed4d 100644 (file)
@@ -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.
index 7d99417..e613291 100644 (file)
--- 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;
index 1c782c7..d92db45 100644 (file)
--- 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__ */