From 9c0758dde6fff7bf6350eedda3dd9db427a44fcb Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sat, 7 Aug 1999 22:28:52 +0000 Subject: class.c (count_fields, [...]): Add static prototype. * class.c (count_fields, add_fields_to_vec): Add static prototype. * cp-tree.h (opname_tab, assignop_tab, operator_name_string, get_id_2, composite_pointer_type, dump_node_to_file): Constify a char*. * decl.c (named_label_list, cp_finish_decl, grokdeclarator): Constify a char*. * decl2.c (finish_static_data_member_decl, grokfield): Constify a char*. * dump.c (queue_and_dump_index, dump_int, dump_string, dump_string_field, dequeue_and_dump, dump_node_to_file): Constify a char*. (dump_stmt): Add static prototype. * errfn.c (cp_thing): Constify a char*. * error.c (dump_unary_op, dump_binary_op, aggr_variety, dump_aggr_type, dump_global_iord, dump_decl, dump_function_name, dump_expr): Constify a char*. * lex.c (extend_token_buffer_to, pragma_getc, pragma_ungetc, read_line_number): Add static prototype. (opname_tab, assignop_tab, operator_name_string): Constify a char*. (real_yylex): Move label `letter' into the scope where it is used. * method.c (build_mangled_template_parm_index, build_overload_int, build_decl_overload_real, get_id_2): Constify a char*. * search.c (check_final_overrider): Make static. * typeck.c (composite_pointer_type): Constify a char*. From-SVN: r28588 --- gcc/cp/class.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/cp/class.c') diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 4f7172b..28ef03f 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -139,6 +139,8 @@ static tree resolve_address_of_overloaded_function PROTO((tree, tree, int, static void build_vtable_entry_ref PROTO((tree, tree, tree)); static tree build_vtable_entry_for_fn PROTO((tree, tree)); static tree build_vtbl_initializer PROTO((tree)); +static int count_fields PROTO((tree)); +static int add_fields_to_vec PROTO((tree, tree, int)); /* Way of stacking language names. */ tree *current_lang_base, *current_lang_stack; -- cgit v1.1