aboutsummaryrefslogtreecommitdiff
path: root/gcc/attribs.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2011-03-11 17:38:58 -0500
committerJason Merrill <jason@gcc.gnu.org>2011-03-11 17:38:58 -0500
commitf231b5ff3ff72471bbe245863c3e37d96ed7d950 (patch)
treeb22f880d00c1c749cca15e7ddb3cc410f2666be0 /gcc/attribs.c
parent1b9b91a68bbabc72c0329b39a6f91f27f9b831d0 (diff)
downloadgcc-f231b5ff3ff72471bbe245863c3e37d96ed7d950.zip
gcc-f231b5ff3ff72471bbe245863c3e37d96ed7d950.tar.gz
gcc-f231b5ff3ff72471bbe245863c3e37d96ed7d950.tar.bz2
attribs.c (lookup_attribute_spec): Take const_tree.
* attribs.c (lookup_attribute_spec): Take const_tree. * tree.h: Adjust. * c-family/c-common.c (attribute_takes_identifier_p): Add missing const. From-SVN: r170887
Diffstat (limited to 'gcc/attribs.c')
-rw-r--r--gcc/attribs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/attribs.c b/gcc/attribs.c
index d8daa6f..fee1499 100644
--- a/gcc/attribs.c
+++ b/gcc/attribs.c
@@ -208,7 +208,7 @@ register_attribute (const struct attribute_spec *attr)
/* Return the spec for the attribute named NAME. */
const struct attribute_spec *
-lookup_attribute_spec (tree name)
+lookup_attribute_spec (const_tree name)
{
struct substring attr;