summaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-11 22:38:58 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-11 22:38:58 +0000
commit9bf1c74e01512f43f764c9a4d437f9d999b74117 (patch)
treeb22f880d00c1c749cca15e7ddb3cc410f2666be0 /gcc/tree.h
parent02cb1060711227cfb2d7f18688929f218fd412cf (diff)
downloadgcc-9bf1c74e01512f43f764c9a4d437f9d999b74117.tar.gz
* attribs.c (lookup_attribute_spec): Take const_tree.
* tree.h: Adjust. * c-family/c-common.c (attribute_takes_identifier_p): Add missing const. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170887 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 296e6de8ee4..2a94b3ae0d0 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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,