aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-write.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-06-09 19:54:26 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-06-09 19:54:26 +0000
commit95ca6d8b3248955be5d473b3210824d5689c0e38 (patch)
tree1294c96ac7dbea07618cad9609fe95009462e108 /gcc/java/jcf-write.c
parent00051260e05e8f7108c0fb5d1d30ed24f25a1829 (diff)
downloadgcc-95ca6d8b3248955be5d473b3210824d5689c0e38.zip
gcc-95ca6d8b3248955be5d473b3210824d5689c0e38.tar.gz
gcc-95ca6d8b3248955be5d473b3210824d5689c0e38.tar.bz2
Make-lang.in (JAVA_OBJS, [...]): Update.
java: * Make-lang.in (JAVA_OBJS, java/lang.o): Update. (java/j-options.c, java/j-options.h): New. * java-tree.h (resource_name, compile_resource_file, compile_resource_data): Constify. * jcf-write.c (jcf_write_base_directory): Similarly. * jcf.h (jcf_write_base_directory): Similarly. * lang.c: Include j-options.h. (cl_options_count, cl_options, string_option, java_decode_option, lang_f_options, lang_W_options, LANG_HOOKS_DECODE_OPTION, process_option_with_no): Remove. (resource_name): Constify. (LANG_HOOKS_HANDLE_OPTION): Override. (java_handle_option): New. (java_init): Don't call jcf_path_init. (java_init_options): Call jcf_path_init. * lang.opt: New. * resource.c (compile_resource_data, compile_resource_file): Constify. From-SVN: r67673
Diffstat (limited to 'gcc/java/jcf-write.c')
-rw-r--r--gcc/java/jcf-write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jcf-write.c b/gcc/java/jcf-write.c
index 0d8f73e..36f009b 100644
--- a/gcc/java/jcf-write.c
+++ b/gcc/java/jcf-write.c
@@ -49,7 +49,7 @@ extern struct obstack temporary_obstack;
/* Base directory in which `.class' files should be written.
NULL means to put the file into the same directory as the
corresponding .java file. */
-char *jcf_write_base_directory = NULL;
+const char *jcf_write_base_directory = NULL;
/* Make sure bytecode.data is big enough for at least N more bytes. */