diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-06-09 19:54:26 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-06-09 19:54:26 +0000 |
commit | 95ca6d8b3248955be5d473b3210824d5689c0e38 (patch) | |
tree | 1294c96ac7dbea07618cad9609fe95009462e108 /gcc/java/java-tree.h | |
parent | 00051260e05e8f7108c0fb5d1d30ed24f25a1829 (diff) | |
download | gcc-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/java-tree.h')
-rw-r--r-- | gcc/java/java-tree.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index 341928d..f4764e7 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -192,7 +192,7 @@ extern int flag_emit_xref; extern int do_not_fold; /* Resource name. */ -extern char * resource_name; +extern const char *resource_name; /* Turned to 1 if -Wall was encountered. See lang.c for their meanings. */ extern int flag_wall; @@ -1130,7 +1130,6 @@ extern tree build_dtable_decl (tree); extern tree build_internal_class_name (tree); extern tree build_constants_constructor (void); extern tree build_ref_from_constant_pool (int); -extern void compile_resource_file (char *, const char *); extern tree build_utf8_ref (tree); extern tree ident_subst (const char*, int, const char*, int, int, const char*); extern tree identifier_subst (const tree, const char *, int, int, const char *); @@ -1307,9 +1306,9 @@ struct rtx_def * java_expand_expr (tree, rtx, enum machine_mode, int); extern void java_inlining_merge_static_initializers (tree, void *); extern void java_inlining_map_static_initializers (tree, void *); -extern void compile_resource_data (char *name, const char *buffer, int length); +extern void compile_resource_data (const char *name, const char *buffer, int); +extern void compile_resource_file (const char *, const char *); extern void write_resource_constructor (void); -extern void compile_resource_file (char *name, const char *filename); extern void init_resource_processing (void); |