Commit 06f624ba by Ziemowit Laski Committed by Ziemowit Laski

c-decl.c (groktypename_in_parm_context): Remove function.

[gcc/ChangeLog]
2004-09-07  Ziemowit Laski  <zlaski@apple.com>

        * c-decl.c (groktypename_in_parm_context): Remove function.
        * c-tree.h (groktypename_in_parm_context): Remove prototype.

From-SVN: r87169
parent 6408ef33
2004-09-07 Ziemowit Laski <zlaski@apple.com>
* c-decl.c (groktypename_in_parm_context): Remove function.
* c-tree.h (groktypename_in_parm_context): Remove prototype.
2004-09-07 Ziemowit Laski <zlaski@apple.com>
* Makefile.in (c-parse.o): Depend on $(C_COMMON_H).
* c-parse.in: Include c-common.h instead of objc-act.h.
(ivar_decl_list, ivar_decls, ivar_decl, ivars, ivar_declarator,
......
......@@ -2887,18 +2887,6 @@ groktypename (tree type_name)
return type_name;
}
/* Return a PARM_DECL node for a given pair of specs and declarator. */
tree
groktypename_in_parm_context (tree type_name)
{
if (TREE_CODE (type_name) != TREE_LIST)
return type_name;
return grokdeclarator (TREE_VALUE (type_name),
TREE_PURPOSE (type_name),
PARM, false, NULL);
}
/* Decode a declarator in an ordinary declaration or data definition.
This is called as soon as the type information and variable name
have been parsed, before parsing the initializer if any.
......
......@@ -181,7 +181,6 @@ extern tree get_parm_info (bool);
extern tree grokfield (tree, tree, tree);
extern void split_specs_attrs (tree, tree *, tree *);
extern tree groktypename (tree);
extern tree groktypename_in_parm_context (tree);
extern tree grokparm (tree);
extern tree implicitly_declare (tree);
extern void keep_next_level (void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment