OSDN Git Service

* c-decl.c (c_build_type_variant): Moved to c-common.c.
authorniklas <niklas@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Jan 1993 06:06:30 +0000 (06:06 +0000)
committerniklas <niklas@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Jan 1993 06:06:30 +0000 (06:06 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3389 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/c-decl.c

index b355ab1..1a32e3c 100644 (file)
@@ -4431,21 +4431,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized)
   }
 }
 \f
-/* 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);
-}
-\f
 /* 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).