summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-07 18:40:26 +0000
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-07 18:40:26 +0000
commitc90ba4eafe82821730e9c53fcdc39578768b29fc (patch)
tree87b79fc0390b0cd2a83a50e972b98c719e0a4bf1
parent0740f037bdc0dd3a9581cafd1f2825572a8d6b5b (diff)
downloadppe42-gcc-c90ba4eafe82821730e9c53fcdc39578768b29fc.tar.gz
ppe42-gcc-c90ba4eafe82821730e9c53fcdc39578768b29fc.zip
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 ) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45475 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/java-tree.h4
-rw-r--r--gcc/java/jvspec.c1
3 files changed, 6 insertions, 4 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index a33de53023a..4c8b7e6a2b6 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -3,6 +3,11 @@
* typeck.c (java_array_type_length, build_prim_array_type):
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>
* class.c (O_BINARY): Define if necessary.
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h
index cb6c738942f..6c7df18e97f 100644
--- a/gcc/java/java-tree.h
+++ b/gcc/java/java-tree.h
@@ -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 ((tree));
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*));
diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c
index fd6d08f58d3..53bd23da150 100644
--- a/gcc/java/jvspec.c
+++ b/gcc/java/jvspec.c
@@ -469,7 +469,6 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries)
if (strcmp (argv[i], "-R") == 0)
{
- char *ptr = argv[i+i];
arglist[j] = concat ("-fcompile-resource=",
*argv[i+1] == '/' ? "" : "/",
argv[i+1], NULL);
OpenPOWER on IntegriCloud