Changes in libcfa/src/startup.cfa [e3fea42:73abe95]
- File:
-
- 1 edited
-
libcfa/src/startup.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/startup.cfa
re3fea42 r73abe95 10 10 // Created On : Tue Jul 24 16:21:57 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Feb 4 13:03:18 202013 // Update Count : 3012 // Last Modified On : Wed Jul 25 16:42:01 2018 13 // Update Count : 11 14 14 // 15 15 16 #include <time.h> // tzset17 16 #include "startup.hfa" 17 #include <unistd.h> 18 18 19 19 20 extern "C" { 20 void __cfaabi_appready_startup( void ) __attribute__(( constructor( STARTUP_PRIORITY_APPREADY ) ));21 static void __cfaabi_appready_startup( void ) __attribute__(( constructor( STARTUP_PRIORITY_APPREADY ) )); 21 22 void __cfaabi_appready_startup( void ) { 22 tzset(); // initialize time global variables23 23 #ifdef __CFA_DEBUG__ 24 24 extern void heapAppStart(); … … 27 27 } // __cfaabi_appready_startup 28 28 29 void __cfaabi_appready_shutdown( void ) __attribute__(( destructor( STARTUP_PRIORITY_APPREADY ) ));29 static void __cfaabi_appready_shutdown( void ) __attribute__(( destructor( STARTUP_PRIORITY_APPREADY ) )); 30 30 void __cfaabi_appready_shutdown( void ) { 31 31 #ifdef __CFA_DEBUG__ … … 40 40 41 41 struct __spinlock_t; 42 extern "C" { 43 void __cfaabi_dbg_record(struct __spinlock_t & this, const char prev_name[]) __attribute__(( weak )) {} 44 } 42 void __cfaabi_dbg_record(struct __spinlock_t & this, const char * prev_name) __attribute__(( weak )) {} 45 43 46 44 // Local Variables: //
Note:
See TracChangeset
for help on using the changeset viewer.