From 23ab000b7b038b6810e48a71a94b8287c20a6047 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 22 Oct 2005 16:27:54 +0000 Subject: 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] --- puzzles.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'puzzles.h') diff --git a/puzzles.h b/puzzles.h index a962bc3..659afa6 100644 --- a/puzzles.h +++ b/puzzles.h @@ -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); -- cgit v1.1