/* Sets the seed for the random number generator */
#ifdef USE_ISAAC64
+
static void
set_random(seed, fn)
unsigned long seed;
{
init_isaac64(seed, fn);
}
+
#else /* USE_ISAAC64 */
+
+/*ARGSUSED*/
static void
set_random(seed, fn)
unsigned long seed;
-int FDECL((*fn),(int));
+int FDECL((*fn), (int)) UNUSED;
{
/* the types are different enough here that sweeping the different
* routine names into one via #defines is even more confusing
# endif
# endif
}
+
#endif /* USE_ISAAC64 */
/* An appropriate version of this must always be provided in
*/
void
init_random(fn)
-int FDECL((*fn),(int));
+int FDECL((*fn), (int));
{
set_random(sys_random_seed(), fn);
}
/* Reshuffles the random number generator. */
void
reseed_random(fn)
-int FDECL((*fn),(int));
+int FDECL((*fn), (int));
{
/* only reseed if we are certain that the seed generation is unguessable
* by the players. */