]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
random_stir() is unused outside this file. Make it static.
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 5 Jan 2003 23:30:48 +0000 (23:30 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 5 Jan 2003 23:30:48 +0000 (23:30 +0000)
Include putty.h to get prototypes for random_init() and random_get_savedata().

[originally from svn r2482]

sshrand.c

index 95c7b49255c709cb6d0d94e84a313b836698dbce..e2386669dac19f4cd2cc1095142f29c3c8512f58 100644 (file)
--- 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)];