+2004-09-02 Ziemowit Laski <zlaski@apple.com>
+
+ * c-decl.c (store_parm_decls_newstyle): Make static.
+ (store_parm_decls_from): New function.
+ * c-tree.h (store_parm_decls_newstyle): Remove prototype.
+ (store_parm_decls_from): New prototype.
+
2004-09-02 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (expand_block_move): Use SImode and
definitions (prototype format). The parms already have decls, so we
need only record them as in effect and complain if any redundant
old-style parm decls were written. */
-void
+static void
store_parm_decls_newstyle (tree fndecl, tree arg_info)
{
tree decl;
}
}
+/* Store parameter declarations passed in ARG_INFO into the current
+ function declaration. */
+
+void
+store_parm_decls_from (tree arg_info)
+{
+ current_function_arg_info = arg_info;
+ store_parm_decls ();
+}
+
/* Store the parameter declarations into the current function declaration.
This is called after parsing the parameter declarations, before
digesting the body of the function.
extern int start_function (tree, tree, tree);
extern tree start_decl (tree, tree, bool, tree);
extern tree start_struct (enum tree_code, tree);
-extern void store_parm_decls_newstyle (tree, tree);
extern void store_parm_decls (void);
+extern void store_parm_decls_from (tree);
extern tree xref_tag (enum tree_code, tree);
extern int c_expand_decl (tree);
extern tree build_c_parm (tree, tree, tree);