Add prototypes for all static functions.
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 19 May 1996 16:21:45 +0000 (12:21 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 19 May 1996 16:21:45 +0000 (12:21 -0400)
From-SVN: r12041

gcc/c-decl.c
gcc/c-iterate.c

index e031546960cfd79a0ca8a127fa77a57fba575a2a..0eaf98190d12b873f3a07937191b70ffd89db0b4 100644 (file)
@@ -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));
 \f
 /* 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));
 }
index 7fe7a123e1708783782c0350c8922103762936c5..d365caf16bb298ddbb3739c186e1b058b0dda187 100644 (file)
@@ -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;
 \f
 /*
                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));
 \f
 /* Initialize our obstack once per compilation.  */