moving opts_warn and opts_werror to con.c

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-28 19:18:11 +01:00
parent 3c1992fc38
commit fef9303381
3 changed files with 3 additions and 4 deletions

3
con.c
View file

@ -22,6 +22,9 @@
*/
#include "gmqcc.h"
uint32_t opts_warn [1 + (COUNT_WARNINGS / 32)];
bool opts_werror = false;
/*
* isatty/STDERR_FILENO/STDOUT_FILNO
* + some other things likewise.

2
exec.c
View file

@ -633,8 +633,6 @@ const char *type_name[TYPE_COUNT] = {
bool opts_debug = false;
bool opts_memchk = false;
uint32_t opts_warn [1 + (COUNT_WARNINGS / 32)];
bool opts_werror = false;
typedef struct {
int vtype;

2
main.c
View file

@ -25,7 +25,6 @@
#include "lexer.h"
uint32_t opts_flags[1 + (COUNT_FLAGS / 32)];
uint32_t opts_warn [1 + (COUNT_WARNINGS / 32)];
uint32_t opts_O = 1;
const char *opts_output = "progs.dat";
@ -34,7 +33,6 @@ bool opts_debug = false;
bool opts_memchk = false;
bool opts_dumpfin = false;
bool opts_dump = false;
bool opts_werror = false;
bool opts_forcecrc = false;
bool opts_pp_only = false;
size_t opts_max_array_size = 1024;