Fix mistakes

This commit is contained in:
counterpoint
2015-08-28 16:12:36 +01:00
parent 9c5f622481
commit 753746f5c5
3 changed files with 5 additions and 3 deletions

View File

@ -36,6 +36,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <spinlock.h>
#include <random_jkiss.h>
/* Public domain code for JKISS RNG - Comment header added */
@ -63,6 +64,7 @@ random_jkiss(void)
{
unsigned long long t;
unsigned int result;
spinlock_acquire(&random_jkiss_spinlock);
if (!init)
{