aboutsummaryrefslogtreecommitdiff
path: root/gcc/langhooks.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-08-26 17:27:24 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-08-26 17:27:24 -0700
commit525c6bf5a6b91fa09f57b79bad9737ab3733601d (patch)
tree1e34e5e9ca494cf80b9eeedaeeb9ab699cb921c7 /gcc/langhooks.c
parent81d1fb087780b62dbbb3994dfeeb93f76a9773cc (diff)
downloadgcc-525c6bf5a6b91fa09f57b79bad9737ab3733601d.zip
gcc-525c6bf5a6b91fa09f57b79bad9737ab3733601d.tar.gz
gcc-525c6bf5a6b91fa09f57b79bad9737ab3733601d.tar.bz2
tree.c (staticp): Return the static object.
* 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. From-SVN: r86650
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 e932042..9f0a236 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. */