aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-08-29 14:57:05 -0700
committerRichard Henderson <rth@gcc.gnu.org>2003-08-29 14:57:05 -0700
commit4b1e44bee1cc164e8b6660eae8980a0e52770f06 (patch)
tree4633005da8f64b1767538dcd1ee8920a7bf39820 /gcc/c-tree.h
parent05a5fba9c719bedb9584cdec2e677636038be449 (diff)
downloadgcc-4b1e44bee1cc164e8b6660eae8980a0e52770f06.zip
gcc-4b1e44bee1cc164e8b6660eae8980a0e52770f06.tar.gz
gcc-4b1e44bee1cc164e8b6660eae8980a0e52770f06.tar.bz2
c-tree.h (C_DECL_FILE_SCOPE): Move ...
* c-tree.h (C_DECL_FILE_SCOPE): Move ... * tree.h (DECL_FILE_SCOPE_P): ... here, and rename. * c-decl.c, c-objc-common.c, c-typeck.c: Update to match. From-SVN: r70925
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r--gcc/c-tree.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index 48b91f5..7615486 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -138,11 +138,6 @@ struct lang_type GTY(())
|| (TYPE_ARG_TYPES (TREE_TYPE (EXP)) == 0 \
&& !DECL_BUILT_IN (EXP)))
-/* Nonzero for a decl which is at file scope. */
-#define C_DECL_FILE_SCOPE(EXP) \
- (! DECL_CONTEXT (EXP) \
- || TREE_CODE (DECL_CONTEXT (EXP)) == TRANSLATION_UNIT_DECL)
-
/* For FUNCTION_TYPE, a hidden list of types of arguments. The same as
TYPE_ARG_TYPES for functions with prototypes, but created for functions
without prototypes. */