diff options
author | kan <kan@FreeBSD.org> | 2003-07-11 06:00:50 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-07-11 06:00:50 +0000 |
commit | df01acbbcbcafe15e3ec586c425aab82c44d01db (patch) | |
tree | 1c14ba4d26654262a36796acad9c4e464c6b3811 /contrib | |
parent | 8c2df19687b187984be9a4b27caba6d4bcf1b96b (diff) | |
download | FreeBSD-src-df01acbbcbcafe15e3ec586c425aab82c44d01db.zip FreeBSD-src-df01acbbcbcafe15e3ec586c425aab82c44d01db.tar.gz |
Merge FreeBSD changes into GCC 3.3.1-prerelease.
Move FreeBSD specific flag variables from c-decl.c here.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/c-common.c | 8 |
1 files changed, 8 insertions, 0 deletions
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; |