aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1996-01-09 22:29:43 +0000
committerDoug Evans <dje@gnu.org>1996-01-09 22:29:43 +0000
commit6cb3d3146b676db40c96c3399a7ec5e6b3352a1f (patch)
tree9295f184738c82f9b3a1a36967ec55367a6cb249 /gcc/tree.h
parentc317413701b0eae91b1479d9c1ca0b4ababbf54f (diff)
downloadgcc-6cb3d3146b676db40c96c3399a7ec5e6b3352a1f.zip
gcc-6cb3d3146b676db40c96c3399a7ec5e6b3352a1f.tar.gz
gcc-6cb3d3146b676db40c96c3399a7ec5e6b3352a1f.tar.bz2
(merge_attributes): Moved here from c-tree.h.
(valid_machine_attribute, is_attribute_p, lookup_attribute): Prefix decl with `extern'. From-SVN: r10957
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 8080288..2d35c6c 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1340,17 +1340,21 @@ extern tree build_decl_attribute_variant PROTO((tree, tree));
/* Return 1 if an attribute and its arguments are valid for a decl or type. */
-int valid_machine_attribute PROTO((tree, tree, tree, tree));
+extern int valid_machine_attribute PROTO((tree, tree, tree, tree));
/* Given a tree node and a string, return non-zero if the tree node is
a valid attribute name for the string. */
-int is_attribute_p PROTO((char *, tree));
+extern int is_attribute_p PROTO((char *, tree));
/* Given an attribute name and a list of attributes, return the list element
of the attribute or NULL_TREE if not found. */
-tree lookup_attribute PROTO((char *, tree));
+extern tree lookup_attribute PROTO((char *, tree));
+
+/* Given two attributes lists, return a list of their union. */
+
+extern tree merge_attributes PROTO((tree, tree));
/* Given a type node TYPE, and CONSTP and VOLATILEP, return a type
for the same kind of data as TYPE describes.