From: Ziemowit Laski Date: Wed, 8 Sep 2004 01:24:26 +0000 (+0000) Subject: c-decl.c (groktypename_in_parm_context): Remove function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06f624bab80cb9dbb9bebd258f729c84b4e0d967;p=gcc.git c-decl.c (groktypename_in_parm_context): Remove function. [gcc/ChangeLog] 2004-09-07 Ziemowit Laski * c-decl.c (groktypename_in_parm_context): Remove function. * c-tree.h (groktypename_in_parm_context): Remove prototype. From-SVN: r87169 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a9fe8d307df..2935df70922 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-09-07 Ziemowit Laski + + * c-decl.c (groktypename_in_parm_context): Remove function. + * c-tree.h (groktypename_in_parm_context): Remove prototype. + 2004-09-07 Ziemowit Laski * Makefile.in (c-parse.o): Depend on $(C_COMMON_H). diff --git a/gcc/c-decl.c b/gcc/c-decl.c index aad75640ca9..0ffda691861 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -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. diff --git a/gcc/c-tree.h b/gcc/c-tree.h index acecbe96768..104fe0c4c7f 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -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);