Changeset 5130 for trunk/src/odincrt/initterm.cpp
- Timestamp:
- Feb 14, 2001, 12:41:04 PM (25 years ago)
- File:
-
- 1 edited
-
trunk/src/odincrt/initterm.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/odincrt/initterm.cpp
r4818 r5130 1 /* $Id: initterm.cpp,v 1.4 2000-12-16 23:33:37 bird Exp $ */2 3 1 /* 4 2 * DLL entry point … … 34 32 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 33 #include <exitlist.h> 34 #include <initdll.h> 36 35 37 36 #ifdef __IBMCPP__ 38 37 extern "C" { 39 /*-------------------------------------------------------------------*/40 /* _CRT_init is the C run-time environment initialization function. */41 /* It will return 0 to indicate success and -1 to indicate failure. */42 /*-------------------------------------------------------------------*/43 int CDECL CRT_init(void);44 /*-------------------------------------------------------------------*/45 /* _CRT_term is the C run-time environment termination function. */46 /* It only needs to be called when the C run-time functions are */47 /* statically linked. */48 /*-------------------------------------------------------------------*/49 void CDECL CRT_term(void);50 void CDECL _ctordtorInit( void );51 void CDECL _ctordtorTerm( void );52 }53 38 54 39 /*-------------------------------------------------------------------*/ … … 59 44 /*-------------------------------------------------------------------*/ 60 45 static void APIENTRY cleanup(ULONG reason); 61 46 } 62 47 63 48 /****************************************************************************/ … … 89 74 /*******************************************************************/ 90 75 91 if ( CRT_init() == -1)76 if (_CRT_init() == -1) 92 77 return 0UL; 93 _ ctordtorInit();78 __ctordtorInit(); 94 79 95 80 /*******************************************************************/ … … 129 114 static void APIENTRY cleanup(ULONG ulReason) 130 115 { 131 _ ctordtorTerm();132 CRT_term();116 __ctordtorTerm(); 117 _CRT_term(); 133 118 DosExitList(EXLST_EXIT, cleanup); 134 119 return ;
Note:
See TracChangeset
for help on using the changeset viewer.
