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:
Simon Tatham
2005-10-22 16:27:54 +00:00
parent 4faecc7726
commit 23ab000b7b
7 changed files with 15 additions and 15 deletions

View File

@ -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;