Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d65778a

Browse files
author
Andrew MacIntyre
committed
whitespace cleanup
1 parent 7c90a89 commit d65778a

1 file changed

Lines changed: 21 additions & 16 deletions

File tree

PC/os2emx/dllentry.c

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,25 @@ extern void __ctordtorTerm (void);
1919

2020
unsigned long _DLL_InitTerm (unsigned long mod_handle, unsigned long flag)
2121
{
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-
return 1;
35-
default:
36-
return 0;
37-
}
22+
switch (flag)
23+
{
24+
case 0:
25+
if (_CRT_init ())
26+
return 0;
27+
__ctordtorInit ();
28+
29+
/* Ignore fatal signals */
30+
signal (SIGSEGV, SIG_IGN);
31+
signal (SIGFPE, SIG_IGN);
32+
33+
return 1;
34+
35+
case 1:
36+
__ctordtorTerm ();
37+
_CRT_term ();
38+
return 1;
39+
40+
default:
41+
return 0;
42+
}
3843
}

0 commit comments

Comments
 (0)