diff options
author | Ziemowit Laski <zlaski@apple.com> | 2004-09-08 01:24:26 +0000 |
---|---|---|
committer | Ziemowit Laski <zlaski@gcc.gnu.org> | 2004-09-08 01:24:26 +0000 |
commit | 06f624bab80cb9dbb9bebd258f729c84b4e0d967 (patch) | |
tree | 0a02e16d6a49ddc18c5a8b811f1954417af24cd8 /gcc/c-decl.c | |
parent | 6408ef338629d26c64ed03cee951bc2e4e2bfddc (diff) | |
download | gcc-06f624bab80cb9dbb9bebd258f729c84b4e0d967.tar.gz |
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
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 12 |
1 files changed, 0 insertions, 12 deletions
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. |