fixed multiple definition of global var error

This commit is contained in:
2022-07-17 19:22:54 +02:00
parent 9d72c91584
commit a2d2cfbd7d
2 changed files with 10 additions and 7 deletions

View File

@@ -42,6 +42,9 @@ int usage() {
return 1; return 1;
} }
int WMIN, WMAX, humantoss, verbose, dontjump, symbols;
int main (int argc, char **argv) { int main (int argc, char **argv) {
int count = 4; int count = 4;
char *dictfile = NULL; char *dictfile = NULL;

View File

@@ -37,15 +37,15 @@
#define STRINGIZE(x) #x #define STRINGIZE(x) #x
#define STRINGIZE_VALUE_OF(x) STRINGIZE(x) #define STRINGIZE_VALUE_OF(x) STRINGIZE(x)
#define VERSION "1.1" #define VERSION "1.2"
#define RLEN 1024 #define RLEN 1024
int humantoss; extern int humantoss;
int verbose; extern int verbose;
int dontjump; extern int dontjump;
int symbols; extern int symbols;
int WMIN; extern int WMIN;
int WMAX; extern int WMAX;
int usage(); int usage();
int main (int argc, char **argv); int main (int argc, char **argv);