Code Cleanup

- Removed the rand/random/srand/srandom calls that are no longer used.
This commit is contained in:
Paul Beckingham 2013-07-20 16:07:25 -04:00
parent fcfd50bd25
commit bda3674578
5 changed files with 0 additions and 46 deletions

View file

@ -41,22 +41,9 @@
Context context;
#ifdef HAVE_SRANDOM
#define srand(x) srandom(x)
#endif
////////////////////////////////////////////////////////////////////////////////
int main (int argc, const char** argv)
{
// Set up randomness.
#ifdef CYGWIN
srand (time (NULL));
#else
struct timeval tv;
gettimeofday (&tv, NULL);
srand (tv.tv_usec);
#endif
int status = 0;
if (argc == 2 && !strcmp (argv[1], "--version"))