From: ben Date: Sun, 5 Jan 2003 23:30:48 +0000 (+0000) Subject: random_stir() is unused outside this file. Make it static. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/19ad0a17e9c05a3443304b8e8290fb60a772142b?hp=df3c4460d6b01d4f8b33119c795c1f7ca09bee1e random_stir() is unused outside this file. Make it static. Include putty.h to get prototypes for random_init() and random_get_savedata(). git-svn-id: svn://svn.tartarus.org/sgt/putty@2482 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/sshrand.c b/sshrand.c index 95c7b492..e2386669 100644 --- a/sshrand.c +++ b/sshrand.c @@ -2,6 +2,7 @@ * cryptographic random number generator for PuTTY's ssh client */ +#include "putty.h" #include "ssh.h" void noise_get_heavy(void (*func) (void *, int)); @@ -41,7 +42,7 @@ struct RandPool { static struct RandPool pool; int random_active = 0; -void random_stir(void) +static void random_stir(void) { word32 block[HASHINPUT / sizeof(word32)]; word32 digest[HASHSIZE / sizeof(word32)];