diff options
author | Niklas Hallqvist <niklas@gnu.org> | 1993-01-30 06:06:30 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@gnu.org> | 1993-01-30 06:06:30 +0000 |
commit | 5d63b07f422b4341ab9439d81835c1f704beadca (patch) | |
tree | c6c3dc1c0f84da1806a4ea1ba430f6606d24f82c /gcc | |
parent | 0b73773ce6d43ab6557a9ae8b85913a78f98099b (diff) | |
download | gcc-5d63b07f422b4341ab9439d81835c1f704beadca.zip gcc-5d63b07f422b4341ab9439d81835c1f704beadca.tar.gz gcc-5d63b07f422b4341ab9439d81835c1f704beadca.tar.bz2 |
* c-decl.c (c_build_type_variant): Moved to c-common.c.
From-SVN: r3389
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-decl.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index b355ab1..1a32e3c 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -4431,21 +4431,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized) } } -/* Make a variant type in the proper way for C, propagating qualifiers - down to the element type of an array. */ - -tree -c_build_type_variant (type, constp, volatilep) - tree type; - int constp, volatilep; -{ - if (TREE_CODE (type) == ARRAY_TYPE) - type = build_array_type (c_build_type_variant (TREE_TYPE (type), - constp, volatilep), - TYPE_DOMAIN (type)); - return build_type_variant (type, constp, volatilep); -} - /* Decode the parameter-list info for a function type or function definition. The argument is the value returned by `get_parm_info' (or made in parse.y if there is an identifier list instead of a parameter decl list). |