summaryrefslogtreecommitdiff
path: root/gcc/langhooks.c
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.c
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.c')
-rw-r--r--gcc/langhooks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c
index e93204240ee..9f0a236e8d3 100644
--- a/gcc/langhooks.c
+++ b/gcc/langhooks.c
@@ -125,10 +125,10 @@ lhd_safe_from_p (rtx ARG_UNUSED (x), tree ARG_UNUSED (exp))
/* Called from staticp. */
-bool
+tree
lhd_staticp (tree ARG_UNUSED (exp))
{
- return false;
+ return NULL;
}
/* Called from check_global_declarations. */