diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/gjavah.c | 4 |
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; |