summaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-13 23:30:02 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-13 23:30:02 +0000
commit0144d8866d2a3438e9a9c0a29d438db2813a1b6d (patch)
treece98ecc92b90fd99c0d66480bbe34c393cb5a611 /gcc/c-common.h
parentba42a81a8a99c52f36b6103ed17e4d162269b620 (diff)
downloadgcc-0144d8866d2a3438e9a9c0a29d438db2813a1b6d.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38998 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 9ea2c6305ae..22f743ba18a 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). */