Add prototypes for all static functions.
From-SVN: r12041
This commit is contained in:
parent
b0cb541bf4
commit
b423779d2d
28
gcc/c-decl.c
28
gcc/c-decl.c
@ -411,16 +411,20 @@ tree static_ctors, static_dtors;
|
|||||||
|
|
||||||
/* Forward declarations. */
|
/* Forward declarations. */
|
||||||
|
|
||||||
static tree grokparms (), grokdeclarator ();
|
static struct binding_level * make_binding_level PROTO((void));
|
||||||
tree pushdecl ();
|
static void clear_limbo_values PROTO((tree));
|
||||||
tree builtin_function ();
|
static int duplicate_decls PROTO((tree, tree, int));
|
||||||
void shadow_tag_warned ();
|
static char *redeclaration_error_message PROTO((tree, tree));
|
||||||
|
static void storedecls PROTO((tree));
|
||||||
static tree lookup_tag ();
|
static void storetags PROTO((tree));
|
||||||
static tree lookup_tag_reverse ();
|
static tree lookup_tag PROTO((enum tree_code, tree,
|
||||||
tree lookup_name_current_level ();
|
struct binding_level *, int));
|
||||||
static char *redeclaration_error_message ();
|
static tree lookup_tag_reverse PROTO((tree));
|
||||||
static void layout_array_type ();
|
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. */
|
/* C-specific option variables. */
|
||||||
|
|
||||||
@ -6790,7 +6794,9 @@ combine_parm_decls (specparms, parmlist, void_at_end)
|
|||||||
|
|
||||||
if (void_at_end)
|
if (void_at_end)
|
||||||
return saveable_tree_cons (parmdecls, nonparms,
|
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));
|
return saveable_tree_cons (parmdecls, nonparms, nreverse (types));
|
||||||
}
|
}
|
||||||
|
@ -30,20 +30,6 @@ Boston, MA 02111-1307, USA. */
|
|||||||
#include "flags.h"
|
#include "flags.h"
|
||||||
#include "obstack.h"
|
#include "obstack.h"
|
||||||
#include "rtl.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
|
KEEPING TRACK OF EXPANSIONS
|
||||||
@ -96,11 +82,26 @@ struct iter_stack_node
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct iter_stack_node *iter_stack;
|
struct iter_stack_node *iter_stack;
|
||||||
|
|
||||||
struct iter_stack_node sublevel_ixpansions;
|
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. */
|
/* During collect_iterators, a list of SAVE_EXPRs already scanned. */
|
||||||
static tree save_exprs;
|
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. */
|
/* Initialize our obstack once per compilation. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user