mirror of
https://codeberg.org/scip/diceware.git
synced 2025-12-17 10:50:57 +01:00
fixed multiple definition of global var error
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
14
dicepwgen.h
14
dicepwgen.h
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user