fix warnings

This commit is contained in:
Vítor Santos Costa
2014-06-19 15:09:44 +01:00
parent b111ed13f8
commit d4bffbaefd
3 changed files with 15 additions and 11 deletions

View File

@@ -493,13 +493,11 @@ setRandom(unsigned int *seedp)
#endif
}
#ifdef HAVE_SRANDOM
#if HAVE_SRANDOM
srandom(seed);
#else
#ifdef HAVE_SRAND
#elif HAVE_SRAND
srand(seed);
#endif
#endif
}
uint64_t