More magic-number elimination, and some information hiding.

This commit is contained in:
Eric S. Raymond 2017-06-07 00:05:03 -04:00
parent 924157fa9f
commit c68b92d9da
3 changed files with 29 additions and 22 deletions

View file

@ -10,7 +10,7 @@ typedef struct lcg_state
unsigned long a, c, m, x;
} lcg_state;
typedef long token_t; /* word token - someday this will be a character array */
typedef long token_t; /* word token - someday this will be char[TOKLEN+1] */
typedef long vocab_t; /* index into a vocabulary array */
struct game_t {