aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-05-04 20:15:00 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-05-04 20:15:00 +0000
commit3d90d2908e9a7ae8fbad9f248bb5517e74139e3b (patch)
treea2449890a6a273739539cb635907054553cde2bb /gcc/tree.h
parent625458d0b97e2665f53f56832778214e7e7ae6b6 (diff)
downloadgcc-3d90d2908e9a7ae8fbad9f248bb5517e74139e3b.zip
gcc-3d90d2908e9a7ae8fbad9f248bb5517e74139e3b.tar.gz
gcc-3d90d2908e9a7ae8fbad9f248bb5517e74139e3b.tar.bz2
Makefile.in (c-lex.o): Update.
* Makefile.in (c-lex.o): Update. * c-lex.c: Include target.h. (cb_register_builtins): New. (init_c_lex): Set builtins callback. * c-lex.h (cpp_define, cpp_assert): New prototypes. * cppinit.c (init_builtins): Use callback, including for GXX_WEAK. * cpplib.h (struct cpp_callbacks): New member. * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New. (TARGET_INITIALIZER): Update. * target.h (struct gcc_target): New hook. * tree.c (default_register_cpp_builtins): New. * tree.h (default_register_cpp_builtins): New. doc: * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document. From-SVN: r53165
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index b7a45e7..15397b2 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2261,6 +2261,8 @@ extern void default_set_default_type_attributes PARAMS ((tree));
extern void default_insert_attributes PARAMS ((tree, tree *));
extern bool default_function_attribute_inlinable_p PARAMS ((tree));
extern bool default_ms_bitfield_layout_p PARAMS ((tree));
+struct cpp_reader;
+extern void default_register_cpp_builtins PARAMS ((struct cpp_reader *));
/* Split a list of declspecs and attributes into two. */