diff options
author | Jason Merrill <jason@redhat.com> | 2011-03-11 17:38:58 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-03-11 17:38:58 -0500 |
commit | f231b5ff3ff72471bbe245863c3e37d96ed7d950 (patch) | |
tree | b22f880d00c1c749cca15e7ddb3cc410f2666be0 /gcc/tree.h | |
parent | 1b9b91a68bbabc72c0329b39a6f91f27f9b831d0 (diff) | |
download | gcc-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/tree.h')
-rw-r--r-- | gcc/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5348,7 +5348,7 @@ extern bool must_pass_in_stack_var_size_or_pad (enum machine_mode, const_tree); /* In attribs.c. */ -extern const struct attribute_spec *lookup_attribute_spec (tree); +extern const struct attribute_spec *lookup_attribute_spec (const_tree); /* Process the attributes listed in ATTRIBUTES and install them in *NODE, which is either a DECL (including a TYPE_DECL) or a TYPE. If a DECL, |