diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2001-01-13 23:30:02 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2001-01-13 23:30:02 +0000 |
commit | 1312c143f8f7a87b44e0536d66364bd9216ff5a4 (patch) | |
tree | ce98ecc92b90fd99c0d66480bbe34c393cb5a611 /gcc/c-common.h | |
parent | 6f6684e69928cbedf89f63fbe90a09c31e9dd6aa (diff) | |
download | gcc-1312c143f8f7a87b44e0536d66364bd9216ff5a4.zip gcc-1312c143f8f7a87b44e0536d66364bd9216ff5a4.tar.gz gcc-1312c143f8f7a87b44e0536d66364bd9216ff5a4.tar.bz2 |
c-common.c: Move format checking code to ...
* c-common.c: Move format checking code to ...
* c-format.c: ... here. New file. Reorder some functions and
declarations.
(decl_handle_format_attribute, decl_handle_format_arg_attribute):
New functions.
* c-common.h (decl_handle_format_attribute,
decl_handle_format_arg_attribute): Declare.
* Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
(c-common.o): Adjust dependencies.
(c-format.o): New list of dependencies.
cp:
* Make-lang.in (CXX_C_OBJS): Add c-format.o.
From-SVN: r38998
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index 9ea2c63..22f743b 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -478,6 +478,8 @@ extern void decl_attributes PARAMS ((tree, tree, tree)); extern void init_function_format_info PARAMS ((void)); extern void check_function_format PARAMS ((int *, tree, tree, tree)); extern void set_Wformat PARAMS ((int)); +extern void decl_handle_format_attribute PARAMS ((tree, tree)); +extern void decl_handle_format_arg_attribute PARAMS ((tree, tree)); extern void c_apply_type_quals_to_decl PARAMS ((int, tree)); /* Print an error message for invalid operands to arith operation CODE. NOP_EXPR is used as a special case (see truthvalue_conversion). */ |