summaryrefslogtreecommitdiff
path: root/gcc/c-format.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2002-08-01 06:20:46 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-08-01 06:20:46 +0000
commit4078b403a7dc806f4521f3600b524bed55309515 (patch)
tree95cf90c12538551f48b4627b824d1738b2af0986 /gcc/c-format.c
parentd8278e27fe53214e0750c886529d43a4fc468383 (diff)
downloadgcc-4078b403a7dc806f4521f3600b524bed55309515.tar.gz
c-common.c: Define all C/ObjC/C++ warning and flag variables.
* c-common.c: Define all C/ObjC/C++ warning and flag variables. * c-common.h: Declare all C/ObjC/C++ warning and flag variables. * c-decl.c: Move all warning and flag variables to c-common.c. * c-format.c: Move all warning variables to c-common.c. * c-tree.h: Move all warning and flag declarations to c-common.h. * objc/objc-act.c: Move all warning variables to c-common.c. (flag_warn_protocol): Rename warn_protocol. cp: * cp-tree.h: Move all warning and flag declarations to c-common.h. * decl.c: Move all warning and flag variables to c-common.c. * decl2.c: Move all warning and flag variables to c-common.c. * lex.c (flag_digraphs): Remove. (warn_traditional): Now in c-common.c. From-SVN: r55923
Diffstat (limited to 'gcc/c-format.c')
-rw-r--r--gcc/c-format.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/c-format.c b/gcc/c-format.c
index 6423d904745..959022fc84b 100644
--- a/gcc/c-format.c
+++ b/gcc/c-format.c
@@ -29,33 +29,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "diagnostic.h"
#include "langhooks.h"
-/* Command line options and their associated flags. */
-
-/* Warn about format/argument anomalies in calls to formatted I/O functions
- (*printf, *scanf, strftime, strfmon, etc.). */
-
-int warn_format;
-
-/* Warn about Y2K problems with strftime formats. */
-
-int warn_format_y2k;
-
-/* Warn about excess arguments to formats. */
-
-int warn_format_extra_args;
-
-/* Warn about zero-length formats. */
-
-int warn_format_zero_length;
-
-/* Warn about non-literal format arguments. */
-
-int warn_format_nonliteral;
-
-/* Warn about possible security problems with calls to format functions. */
-
-int warn_format_security;
-
/* Set format warning options according to a -Wformat=n option. */
void