Commit 0ef02b2d by Alexandre Petit-Bianco Committed by Alexandre Petit-Bianco

java-tree.h (compile_resource_file): Grouped with other prototypes.

2001-09-06  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* java-tree.h (compile_resource_file): Grouped with other prototypes.
	* jvspec.c (lang_specific_driver): Removed unused local `ptr.'

(http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00249.html )

From-SVN: r45475
parent 731866ba
...@@ -3,6 +3,11 @@ ...@@ -3,6 +3,11 @@
* typeck.c (java_array_type_length, build_prim_array_type): * typeck.c (java_array_type_length, build_prim_array_type):
Represent empty arrays by NULL index. Represent empty arrays by NULL index.
2001-09-06 Alexandre Petit-Bianco <apbianco@redhat.com>
* java-tree.h (compile_resource_file): Grouped with other prototypes.
* jvspec.c (lang_specific_driver): Removed unused local `ptr.'
2001-09-06 Anthony Green <green@redhat.com> 2001-09-06 Anthony Green <green@redhat.com>
* class.c (O_BINARY): Define if necessary. * class.c (O_BINARY): Define if necessary.
......
...@@ -166,9 +166,6 @@ extern int do_not_fold; ...@@ -166,9 +166,6 @@ extern int do_not_fold;
/* Resource name. */ /* Resource name. */
extern char * resource_name; extern char * resource_name;
/* Compile a resource file. */
void compile_resource_file PARAMS ((char *, char *));
/* Turned to 1 if -Wall was encountered. See lang.c for their meanings. */ /* Turned to 1 if -Wall was encountered. See lang.c for their meanings. */
extern int flag_wall; extern int flag_wall;
extern int flag_redundant; extern int flag_redundant;
...@@ -1023,6 +1020,7 @@ extern tree build_dtable_decl PARAMS ((tree)); ...@@ -1023,6 +1020,7 @@ extern tree build_dtable_decl PARAMS ((tree));
extern tree build_internal_class_name PARAMS ((tree)); extern tree build_internal_class_name PARAMS ((tree));
extern tree build_constants_constructor PARAMS ((void)); extern tree build_constants_constructor PARAMS ((void));
extern tree build_ref_from_constant_pool PARAMS ((int)); extern tree build_ref_from_constant_pool PARAMS ((int));
void compile_resource_file PARAMS ((char *, char *));
extern tree build_utf8_ref PARAMS ((tree)); extern tree build_utf8_ref PARAMS ((tree));
extern tree ident_subst PARAMS ((const char*, int, extern tree ident_subst PARAMS ((const char*, int,
const char*, int, int, const char*)); const char*, int, int, const char*));
......
...@@ -469,7 +469,6 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) ...@@ -469,7 +469,6 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries)
if (strcmp (argv[i], "-R") == 0) if (strcmp (argv[i], "-R") == 0)
{ {
char *ptr = argv[i+i];
arglist[j] = concat ("-fcompile-resource=", arglist[j] = concat ("-fcompile-resource=",
*argv[i+1] == '/' ? "" : "/", *argv[i+1] == '/' ? "" : "/",
argv[i+1], NULL); argv[i+1], NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment