mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Cleanup: rename random_init() to random_new(), because it actually
_allocates_ a random_state rather than just initialising one passed in by the caller. [originally from svn r6412]
This commit is contained in:
@ -287,7 +287,7 @@ extern char ver[];
|
||||
/*
|
||||
* random.c
|
||||
*/
|
||||
random_state *random_init(char *seed, int len);
|
||||
random_state *random_new(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);
|
||||
|
Reference in New Issue
Block a user