- Timestamp:
- Jul 25, 2003, 3:57:29 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/gcc/config/i386/emx-ctordtor.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r441 r442 6 6 extern void __ctordtorInit1 (int *); 7 7 extern void __ctordtorTerm1 (int *); 8 9 /** Exception handler stuff init indicator. 0 means not inited, 1 means inited. */ 10 static int inited; 8 11 extern void __ctordtorInit (void); 9 12 extern void __ctordtorTerm (void); 10 13 14 /** 15 * Create static C++ objects. 16 */ 11 17 void __ctordtorInit (void) 12 18 { 13 static int done; 14 15 if (!done) 19 if (!inited) 16 20 { 17 done= 1;21 inited = 1; 18 22 __ctordtorInit1 (&__CTOR_LIST__); 19 23 } 20 24 } 21 25 26 /** 27 * Destroy static C++ objects. 28 */ 22 29 void __ctordtorTerm (void) 23 30 { 24 static int done; 25 26 if (!done) 31 if (inited) 27 32 { 28 done = 1;33 inited = 0; 29 34 __ctordtorTerm1 (&__DTOR_LIST__); 30 35 } -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.