From 95ca6d8b3248955be5d473b3210824d5689c0e38 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Mon, 9 Jun 2003 19:54:26 +0000 Subject: 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 --- gcc/java/jcf-write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/java/jcf-write.c') 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. */ -- cgit v1.1