From 8ce332308c738cc38d292de5978e37dde916ba34 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Sat, 28 Jun 2003 00:30:31 +0000 Subject: * 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. From-SVN: r68622 --- gcc/java/ChangeLog | 7 +++++++ gcc/java/class.c | 2 +- gcc/java/expr.c | 2 +- gcc/java/jcf-parse.c | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) (limited to 'gcc/java') 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 + + * 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 * 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; -- cgit v1.1