Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/startup.cfa

    raa15f49 r96f002c1  
    1010// Created On       : Tue Jul 24 16:21:57 2018
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Jan 17 16:41:54 2022
    13 // Update Count     : 55
     12// Last Modified On : Sat Jan  9 23:18:23 2021
     13// Update Count     : 34
    1414//
    1515
     
    1717#include <locale.h>                                                                             // setlocale
    1818#include <stdlib.h>                                                                             // getenv
    19 #include "bits/defs.hfa"                                                                // rdtscl
    2019#include "startup.hfa"
    21 
    22 extern uint32_t __global_random_seed;                                   // sequential/concurrent
    23 extern uint32_t __global_random_state;                                  // sequential
    2420
    2521extern "C" {
     
    2723        void __cfaabi_appready_startup( void ) {
    2824                tzset();                                                                                // initialize time global variables
     25                setlocale( LC_NUMERIC, getenv("LANG") );
    2926                #ifdef __CFA_DEBUG__
    3027                extern void heapAppStart();
     
    5148        void __cfaabi_core_startup( void ) __attribute__(( constructor( STARTUP_PRIORITY_CORE ) ));
    5249        void __cfaabi_core_startup( void ) {
    53                 __global_random_state = __global_random_seed = rdtscl();
    5450                __cfaabi_interpose_startup();
    5551                __cfaabi_device_startup();
Note: See TracChangeset for help on using the changeset viewer.