diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-28 00:30:31 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-28 00:30:31 +0000 |
commit | 9140e457bad848392137faee369e102bfae7e012 (patch) | |
tree | 1bf05e7aec3517a89d71382e39dbbc8e0fecfab2 /gcc/java | |
parent | d3ca703efa59ff4befeb4393e72058c658ba2d75 (diff) | |
download | gcc-9140e457bad848392137faee369e102bfae7e012.tar.gz |
* c-format.c (check_format_string, get_constant)
* cfgrtl.c (rtl_split_edge):
Mark the definition static, matching the forward declaration.
cp:
* decl.c (build_typename_type)
* mangle.c (write_template_template_arg)
* parser.c (cp_parser_scope_through_which_access_occurs)
* pt.c (push_access_scope_real, push_access_scope, pop_access_scope)
* repo.c (get_base_filename)
* semantics.c (maybe_convert_cond):
Mark the definition static, matching the forward declaration.
java:
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68622 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/java/class.c | 2 | ||||
-rw-r--r-- | gcc/java/expr.c | 2 | ||||
-rw-r--r-- | gcc/java/jcf-parse.c | 2 |
4 files changed, 10 insertions, 3 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 591b230a136..655111c18da 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 ed1ae4d7116..443cfc557d8 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 6cbfbc9f19f..a6979872054 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 2b20537a137..23939271061 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; |