aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-23 04:13:23 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-23 04:13:23 +0000
commit8dcb2d40524fd0524b4429d5cb40b79ff9def226 (patch)
treeea937dcf08f4085042d60a0e769ce7c30b72e2bd /gcc
parent8b39599cc0f87d133db720aa60d2ce96c56b4230 (diff)
* gjavah.c (output_directory): Make static.
(temp_directory): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91074 138bc75d-0d04-0410-961f-82ee72b054a4
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 989ab1efe23..746ae9333b0 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 2604f5eee88..abf75c4dc69 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;