Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/stdlib.cfa

    r0aa4beb r6a823241  
    2525#include <complex.h>                                                                    // _Complex_I
    2626#include <assert.h>
    27 
    28 #pragma GCC visibility push(default)
    2927
    3028//---------------------------------------
     
    227225#define GENERATOR LCG
    228226
    229 // would be cool to make hidden but it's needed for libcfathread
    230 __attribute__((visibility("default"))) uint32_t __global_random_seed;                                                   // sequential/concurrent
    231 __attribute__((visibility("hidden"))) uint32_t __global_random_state;                                                   // sequential only
     227uint32_t __global_random_seed;                                                  // sequential/concurrent
     228uint32_t __global_random_state;                                                 // sequential only
    232229
    233230void set_seed( PRNG & prng, uint32_t seed_ ) with( prng ) { state = seed = seed_; GENERATOR( state ); } // set seed
Note: See TracChangeset for help on using the changeset viewer.