From df01acbbcbcafe15e3ec586c425aab82c44d01db Mon Sep 17 00:00:00 2001 From: kan Date: Fri, 11 Jul 2003 06:00:50 +0000 Subject: Merge FreeBSD changes into GCC 3.3.1-prerelease. Move FreeBSD specific flag variables from c-decl.c here. --- contrib/gcc/c-common.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'contrib/gcc') diff --git a/contrib/gcc/c-common.c b/contrib/gcc/c-common.c index b40a35a..d792576 100644 --- a/contrib/gcc/c-common.c +++ b/contrib/gcc/c-common.c @@ -260,6 +260,10 @@ int warn_missing_format_attribute; int warn_pointer_arith; +/* Nonzero means do not warn that K&R style main() is not a function prototype. */ + +int flag_bsd_no_warn_kr_main; + /* Nonzero means warn for any global function def without separate previous prototype decl. */ @@ -355,6 +359,10 @@ int flag_isoc94; int flag_isoc99; +/* Nonzero means allow the BSD kernel printf enhancements. */ + +int flag_bsd_format; + /* Nonzero means that we have builtin functions, and main is an int */ int flag_hosted = 1; -- cgit v1.1