Changeset 15564 in project for chicken/trunk


Ignore:
Timestamp:
08/25/09 17:34:42 (10 years ago)
Author:
Kon Lovett
Message:

Use of 'C_randomize' only in init..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/runtime.c

    r15555 r15564  
    716716  callback_continuation_level = 0;
    717717  timer_start_gc_ms = 0;
    718 #if defined(C_NONUNIX)
    719718  C_randomize(time(NULL));
    720 #elif defined(C_MACOSX) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
    721   srandomdev();
    722 #else
    723   srandom(time(NULL));
    724 #endif
    725719  return 1;
    726720}
Note: See TracChangeset for help on using the changeset viewer.