[PATCH] Java: minor mods.
Alexandre Petit-Bianco
apbianco@cygnus.com
Fri Sep 7 11:37:00 GMT 2001
I'm checking this in.
./A
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.'
Index: java-tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/java-tree.h,v
retrieving revision 1.120
diff -u -p -r1.120 java-tree.h
--- java-tree.h 2001/09/06 22:22:43 1.120
+++ java-tree.h 2001/09/07 18:35:40
@@ -166,9 +166,6 @@ extern int do_not_fold;
/* 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. */
extern int flag_wall;
extern int flag_redundant;
@@ -1023,6 +1020,7 @@ extern tree build_dtable_decl PARAMS ((t
extern tree build_internal_class_name PARAMS ((tree));
extern tree build_constants_constructor PARAMS ((void));
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 ident_subst PARAMS ((const char*, int,
const char*, int, int, const char*));
Index: jvspec.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/jvspec.c,v
retrieving revision 1.46
diff -u -p -r1.46 jvspec.c
--- jvspec.c 2001/09/06 22:22:44 1.46
+++ jvspec.c 2001/09/07 18:35:42
@@ -469,7 +469,6 @@ lang_specific_driver (in_argc, in_argv,
if (strcmp (argv[i], "-R") == 0)
{
- char *ptr = argv[i+i];
arglist[j] = concat ("-fcompile-resource=",
*argv[i+1] == '/' ? "" : "/",
argv[i+1], NULL);
More information about the Gcc-patches
mailing list