aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog7
-rw-r--r--gcc/java/class.c2
-rw-r--r--gcc/java/expr.c2
-rw-r--r--gcc/java/jcf-parse.c2
4 files changed, 10 insertions, 3 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 591b230..655111c 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,10 @@
+2003-06-27 Zack Weinberg <zack@codesourcery.com>
+
+ * class.c (build_method_symbols_entry)
+ * expr.c (get_offset_table_index)
+ * jcf-parse.c (jcf_parse):
+ Mark the definition static, matching the forward declaration.
+
2003-06-26 Neil Booth <neil@daikokuya.co.uk>
* lang.c (java_handle_option): Don't check for missing arguments.
diff --git a/gcc/java/class.c b/gcc/java/class.c
index ed1ae4d..443cfc5 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -2042,7 +2042,7 @@ emit_register_classes (void)
/* Make a method_symbol_type (_Jv_MethodSymbol) node for METHOD. */
-tree
+static tree
build_method_symbols_entry (tree method)
{
tree clname, name, signature, method_symbol;
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 6cbfbc9..a697987 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -1821,7 +1821,7 @@ invoke_build_dtable (int is_invoke_interface, tree arg_list)
METHOD. If this method has not been seen before, it will be added to the
otable_methods. If it has, the existing otable slot will be reused. */
-int
+static int
get_offset_table_index (tree method)
{
int i = 1;
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index 2b20537..2393927 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -607,7 +607,7 @@ load_class (tree class_or_name, int verbose)
/* Parse the .class file JCF. */
-void
+static void
jcf_parse (JCF* jcf)
{
int i, code;