diff options
author | obrien <obrien@FreeBSD.org> | 2002-05-14 01:44:02 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-05-14 01:44:02 +0000 |
commit | 7d64ac0ab2fed32992a1776e2875c7c9d5682ba5 (patch) | |
tree | e697d756e4e19d8fb99cd7446340ffb275e00988 /contrib/gcc/c-common.h | |
parent | ac911779196855de86565ccf576a2aeeab54f5dd (diff) | |
download | FreeBSD-src-7d64ac0ab2fed32992a1776e2875c7c9d5682ba5.zip FreeBSD-src-7d64ac0ab2fed32992a1776e2875c7c9d5682ba5.tar.gz |
If you want to not warn on K&R main(); this is how it should be implemented.
Diffstat (limited to 'contrib/gcc/c-common.h')
-rw-r--r-- | contrib/gcc/c-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/gcc/c-common.h b/contrib/gcc/c-common.h index 4d2d476..c89b9aa 100644 --- a/contrib/gcc/c-common.h +++ b/contrib/gcc/c-common.h @@ -415,6 +415,10 @@ extern int warn_sequence_point; extern int warn_missing_format_attribute; +/* Nonzero means do not warn that K&R style main() is not a function prototype. */ + +extern int flag_bsd_no_warn_kr_main; + /* Nonzero means warn about sizeof (function) or addition/subtraction of function pointers. */ |