added debug output, fixed error handling

This commit is contained in:
TLINDEN
2015-08-02 15:22:12 +02:00
parent 4db1d83456
commit 60bedf0c59
6 changed files with 69 additions and 35 deletions

View File

@@ -29,14 +29,15 @@
#include <string.h>
#include <ctype.h>
#include "debug.h"
#define RLEN 1024
extern int humantoss;
extern int WMIN;
extern int WMAX;
unsigned char *toss(int count);
unsigned char *toss(int count, int dicenum);
int rand_lim(int limit);
int get_dicenum(int *digits);
#endif