summaryrefslogtreecommitdiff
path: root/gcc/java/jcf.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-09 19:54:26 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-09 19:54:26 +0000
commit35171f45dafd640694a4eea29083d299b4746b9c (patch)
tree1294c96ac7dbea07618cad9609fe95009462e108 /gcc/java/jcf.h
parent7de4f5f229944e622115372dedac95f86ab3ef2f (diff)
downloadgcc-35171f45dafd640694a4eea29083d299b4746b9c.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67673 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf.h')
-rw-r--r--gcc/java/jcf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h
index 5a28735c061..962db122143 100644
--- a/gcc/java/jcf.h
+++ b/gcc/java/jcf.h
@@ -277,7 +277,7 @@ extern int jcf_unexpected_eof (JCF*, int) ATTRIBUTE_NORETURN;
? (((PTR)[-3]&0x0F) << 12) + (((PTR)[-2]&0x3F) << 6) + ((PTR)[-1]&0x3F) \
: ((PTR)++, -1))
-extern char *jcf_write_base_directory;
+extern const char *jcf_write_base_directory;
/* Debug macros, for the front end */