summaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-17 22:43:55 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-17 22:43:55 +0000
commit4cfbaf39ebd23c88866edd52097070e46bac189a (patch)
treed63648bac97b145754a00dc4c1d8593cc1d3ae79 /gcc/c-tree.h
parent9938224ec3c3bbe175b5eb1d846a650e49e4bd3d (diff)
downloadgcc-4cfbaf39ebd23c88866edd52097070e46bac189a.tar.gz
* Makefile.in: Update dependencies.
* c-lang.c: Remove unnecessary includes. (deferred_fns, start_cdtor, finish_cdtor, defer_fn): Move to c-objc-common.c. (finish_file): Move body to c_common_finish_file. * c-objc-common.c: Include varray.h and ggc.h. (deferred_fns, start_cdtor, finish_cdtor, defer_fn, expand_deferred_fns, c_objc_common_finish_file): Moved from c-lang.c. (c_objc_common_init): Initialize deferred function array. * c-tree.h (c_objc_common_finish_file, static_ctors, static_dtors): New. objc: * Make-lang.in: Update dependencies. * objc/objc-act.c: Don't include varray.h. (defer_fn, deferred_fns): Move to c-objc-common.c. (objc_init): Similarly for initialization of it. (finish_file): Move some to c-objc-common.c, use c_objc_common_finish_file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48134 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r--gcc/c-tree.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index a304b7ebff7..ad8d09a672a 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -153,8 +153,6 @@ extern tree maybe_building_objc_message_expr PARAMS ((void));
extern int recognize_objc_keyword PARAMS ((void));
extern tree lookup_objc_ivar PARAMS ((tree));
-/* in c-lang.c and objc/objc-act.c */
-extern int defer_fn PARAMS ((tree));
/* in c-parse.in */
extern void c_parse_init PARAMS ((void));
@@ -175,6 +173,8 @@ extern int c_disregard_inline_limits PARAMS ((tree));
extern int c_cannot_inline_tree_fn PARAMS ((tree *));
extern const char *c_objc_common_init PARAMS ((const char *));
extern int c_missing_noreturn_ok_p PARAMS ((tree));
+extern void c_objc_common_finish_file PARAMS ((void));
+extern int defer_fn PARAMS ((tree));
#define c_build_type_variant(TYPE, CONST_P, VOLATILE_P) \
c_build_qualified_type (TYPE, \
@@ -372,4 +372,7 @@ extern int mesg_implicit_function_declaration;
/* In c-decl.c */
extern void finish_incomplete_decl PARAMS ((tree));
+extern tree static_ctors;
+extern tree static_dtors;
+
#endif /* ! GCC_C_TREE_H */