summaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-27 00:27:24 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-27 00:27:24 +0000
commit82e3f297ce223cec0a87865f7ea87f03586979b1 (patch)
tree1e34e5e9ca494cf80b9eeedaeeb9ab699cb921c7 /gcc/langhooks.h
parentbe7c4d32da2df905b1523da0557be18c33ce3e16 (diff)
downloadgcc-82e3f297ce223cec0a87865f7ea87f03586979b1.tar.gz
* tree.c (staticp): Return the static object.
* tree.h (staticp): Update decl. * langhooks.h (struct lang_hooks): Change staticp return type to tree. * langhooks.c (lhd_staticp): Return NULL_TREE. * langhooks-def.h (lhd_staticp): Update decl. * c-common.c (c_staticp): Return the static object. * c-common.h (c_staticp): Update decl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86650 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index 586db387866..98532521e5e 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -299,7 +299,7 @@ struct lang_hooks
bool (*mark_addressable) (tree);
/* Hook called by staticp for language-specific tree codes. */
- bool (*staticp) (tree);
+ tree (*staticp) (tree);
/* Replace the DECL_LANG_SPECIFIC data, which may be NULL, of the
DECL_NODE with a newly GC-allocated copy. */