aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2004-11-23 04:13:23 +0000
committerBen Elliston <bje@gcc.gnu.org>2004-11-23 15:13:23 +1100
commit82698cdede07649ffc164d761a1d2aa1832b9cc3 (patch)
treeea937dcf08f4085042d60a0e769ce7c30b72e2bd /gcc
parentb85e31b94a86f1f14325bbe03ab17e9168d1b220 (diff)
downloadgcc-82698cdede07649ffc164d761a1d2aa1832b9cc3.zip
gcc-82698cdede07649ffc164d761a1d2aa1832b9cc3.tar.gz
gcc-82698cdede07649ffc164d761a1d2aa1832b9cc3.tar.bz2
gjavah.c (output_directory): Make static.
* gjavah.c (output_directory): Make static. (temp_directory): Likewise. From-SVN: r91074
Diffstat (limited to 'gcc')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/gjavah.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 989ab1e..746ae93 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-23 Ben Elliston <bje@au.ibm.com>
+
+ * gjavah.c (output_directory): Make static.
+ (temp_directory): Likewise.
+
2004-11-15 Tom Tromey <tromey@redhat.com>
* decl.c (instn_ptr_type_node): Removed.
diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c
index 2604f5e..abf75c4 100644
--- a/gcc/java/gjavah.c
+++ b/gcc/java/gjavah.c
@@ -61,10 +61,10 @@ int flag_jni = 0;
int flag_newer = 1;
/* Directory to place resulting files in. Set by -d option. */
-const char *output_directory = "";
+static const char *output_directory = "";
/* Directory to place temporary file. Set by -td option. Currently unused. */
-const char *temp_directory = "/tmp";
+static const char *temp_directory = "/tmp";
/* Number of friend functions we have to declare. */
static int friend_count;