Fixed compilation problems.

This commit is contained in:
Markus Makela
2015-08-26 18:33:46 +03:00
parent b66bcbd36c
commit 70d82fd45e
3 changed files with 6 additions and 4 deletions

View File

@ -38,6 +38,8 @@
static unsigned int x = 123456789,y = 987654321,z = 43219876,c = 6543217; /* Seed variables */
static bool init = false;
static void random_init_jkiss();
/***
*
* Return a random number
@ -94,4 +96,4 @@ random_init_jkiss()
if ((newrand = random_devrand()) != 0)
c = newrand % 698769068 + 1; /* Should be less than 698769069 */
for (i = 0; i < 1000; i++) random_jkiss();
}
}