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] --- random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'random.c') diff --git a/random.c b/random.c index 4fcdda5..6d278a4 100644 --- a/random.c +++ b/random.c @@ -207,7 +207,7 @@ struct random_state { int pos; }; -random_state *random_init(char *seed, int len) +random_state *random_new(char *seed, int len) { random_state *state; -- cgit v1.1