From b423779d2d40eb0603d8b0b09cf8a5f068efaf49 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 19 May 1996 12:21:45 -0400 Subject: [PATCH] Add prototypes for all static functions. From-SVN: r12041 --- gcc/c-decl.c | 28 +++++++++++++++++----------- gcc/c-iterate.c | 31 ++++++++++++++++--------------- 2 files changed, 33 insertions(+), 26 deletions(-) diff --git a/gcc/c-decl.c b/gcc/c-decl.c index e031546960c..0eaf98190d1 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -411,16 +411,20 @@ tree static_ctors, static_dtors; /* Forward declarations. */ -static tree grokparms (), grokdeclarator (); -tree pushdecl (); -tree builtin_function (); -void shadow_tag_warned (); - -static tree lookup_tag (); -static tree lookup_tag_reverse (); -tree lookup_name_current_level (); -static char *redeclaration_error_message (); -static void layout_array_type (); +static struct binding_level * make_binding_level PROTO((void)); +static void clear_limbo_values PROTO((tree)); +static int duplicate_decls PROTO((tree, tree, int)); +static char *redeclaration_error_message PROTO((tree, tree)); +static void storedecls PROTO((tree)); +static void storetags PROTO((tree)); +static tree lookup_tag PROTO((enum tree_code, tree, + struct binding_level *, int)); +static tree lookup_tag_reverse PROTO((tree)); +static tree grokdeclarator PROTO((tree, tree, enum decl_context, + int)); +static tree grokparms PROTO((tree, int)); +static int field_decl_cmp PROTO((tree *, tree *)); +static void layout_array_type PROTO((tree)); /* C-specific option variables. */ @@ -6790,7 +6794,9 @@ combine_parm_decls (specparms, parmlist, void_at_end) if (void_at_end) return saveable_tree_cons (parmdecls, nonparms, - nreverse (saveable_tree_cons (NULL_TREE, void_type_node, types))); + nreverse (saveable_tree_cons (NULL_TREE, + void_type_node, + types))); return saveable_tree_cons (parmdecls, nonparms, nreverse (types)); } diff --git a/gcc/c-iterate.c b/gcc/c-iterate.c index 7fe7a123e17..d365caf16bb 100644 --- a/gcc/c-iterate.c +++ b/gcc/c-iterate.c @@ -30,20 +30,6 @@ Boston, MA 02111-1307, USA. */ #include "flags.h" #include "obstack.h" #include "rtl.h" - -static void expand_stmt_with_iterators_1 (); -static tree collect_iterators (); -static void iterator_loop_prologue (); -static void iterator_loop_epilogue (); -static void add_ixpansion (); -static void delete_ixpansion(); -static int top_level_ixpansion_p (); -static void istack_sublevel_to_current (); - -/* A special obstack, and a pointer to the start of - all the data in it (so we can free everything easily). */ -static struct obstack ixp_obstack; -static char *ixp_firstobj; /* KEEPING TRACK OF EXPANSIONS @@ -96,11 +82,26 @@ struct iter_stack_node }; struct iter_stack_node *iter_stack; - struct iter_stack_node sublevel_ixpansions; +/* A special obstack, and a pointer to the start of + all the data in it (so we can free everything easily). */ +static struct obstack ixp_obstack; +static char *ixp_firstobj; + /* During collect_iterators, a list of SAVE_EXPRs already scanned. */ static tree save_exprs; + +static void expand_stmt_with_iterators_1 PROTO((tree, tree)); +static tree collect_iterators PROTO((tree, tree)); +static void iterator_loop_prologue PROTO((tree, rtx *, rtx *)); +static void iterator_loop_epilogue PROTO((tree, rtx *, rtx *)); +static int top_level_ixpansion_p PROTO((void)); +static void isn_append PROTO((struct iter_stack_node *, + struct iter_stack_node *)); +static void istack_sublevel_to_current PROTO((void)); +static void add_ixpansion PROTO((tree, rtx, rtx, rtx, rtx)); +static void delete_ixpansion PROTO((tree)); /* Initialize our obstack once per compilation. */ -- 2.30.2