Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c90a89 commit d65778aCopy full SHA for d65778a
1 file changed
PC/os2emx/dllentry.c
@@ -19,20 +19,25 @@ extern void __ctordtorTerm (void);
19
20
unsigned long _DLL_InitTerm (unsigned long mod_handle, unsigned long flag)
21
{
22
- switch (flag)
23
- {
24
- case 0:
25
- if (_CRT_init ()) return 0;
26
- __ctordtorInit ();
27
- /* Ignore fatal signals */
28
- signal (SIGSEGV, SIG_IGN);
29
- signal (SIGFPE, SIG_IGN);
30
- return 1;
31
- case 1:
32
- __ctordtorTerm ();
33
- _CRT_term ();
34
35
- default:
36
- return 0;
37
- }
+ switch (flag)
+ {
+ case 0:
+ if (_CRT_init ())
+ return 0;
+ __ctordtorInit ();
+
+ /* Ignore fatal signals */
+ signal (SIGSEGV, SIG_IGN);
+ signal (SIGFPE, SIG_IGN);
+ return 1;
+ case 1:
+ __ctordtorTerm ();
+ _CRT_term ();
38
39
40
+ default:
41
42
+ }
43
}
0 commit comments