Various cleanups and clarifications to devel.but; some from Richard

B and some from me. Also an additional utility function
`random_copy' from Richard B, which he says is useful in a new
puzzle he's working on and which seems likely to come in handy again
at some point.

[originally from svn r6153]
This commit is contained in:
Simon Tatham
2005-08-01 11:27:01 +00:00
parent e6132341c4
commit 207c847553
3 changed files with 49 additions and 17 deletions

View File

@ -243,6 +243,7 @@ extern char ver[];
* random.c
*/
random_state *random_init(char *seed, int len);
random_state *random_copy(random_state *tocopy);
unsigned long random_bits(random_state *state, int bits);
unsigned long random_upto(random_state *state, unsigned long limit);
void random_free(random_state *state);