another warning fix
Only appeared when ISAAC64 was disabled.
This commit is contained in:
+6
-1
@@ -852,6 +852,7 @@ STATIC_DCL struct tm *NDECL(getlt);
|
|||||||
|
|
||||||
/* Sets the seed for the random number generator */
|
/* Sets the seed for the random number generator */
|
||||||
#ifdef USE_ISAAC64
|
#ifdef USE_ISAAC64
|
||||||
|
|
||||||
static void
|
static void
|
||||||
set_random(seed, fn)
|
set_random(seed, fn)
|
||||||
unsigned long seed;
|
unsigned long seed;
|
||||||
@@ -859,11 +860,14 @@ int FDECL((*fn), (int));
|
|||||||
{
|
{
|
||||||
init_isaac64(seed, fn);
|
init_isaac64(seed, fn);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else /* USE_ISAAC64 */
|
#else /* USE_ISAAC64 */
|
||||||
|
|
||||||
|
/*ARGSUSED*/
|
||||||
static void
|
static void
|
||||||
set_random(seed, fn)
|
set_random(seed, fn)
|
||||||
unsigned long seed;
|
unsigned long seed;
|
||||||
int FDECL((*fn),(int));
|
int FDECL((*fn), (int)) UNUSED;
|
||||||
{
|
{
|
||||||
/* the types are different enough here that sweeping the different
|
/* the types are different enough here that sweeping the different
|
||||||
* routine names into one via #defines is even more confusing
|
* routine names into one via #defines is even more confusing
|
||||||
@@ -886,6 +890,7 @@ int FDECL((*fn),(int));
|
|||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* USE_ISAAC64 */
|
#endif /* USE_ISAAC64 */
|
||||||
|
|
||||||
/* An appropriate version of this must always be provided in
|
/* An appropriate version of this must always be provided in
|
||||||
|
|||||||
Reference in New Issue
Block a user