Commit d65778a9 authored by Andrew MacIntyre's avatar Andrew MacIntyre

whitespace cleanup

parent 7c90a895
...@@ -19,20 +19,25 @@ extern void __ctordtorTerm (void); ...@@ -19,20 +19,25 @@ extern void __ctordtorTerm (void);
unsigned long _DLL_InitTerm (unsigned long mod_handle, unsigned long flag) unsigned long _DLL_InitTerm (unsigned long mod_handle, unsigned long flag)
{ {
switch (flag) switch (flag)
{ {
case 0: case 0:
if (_CRT_init ()) return 0; if (_CRT_init ())
__ctordtorInit (); return 0;
/* Ignore fatal signals */ __ctordtorInit ();
signal (SIGSEGV, SIG_IGN);
signal (SIGFPE, SIG_IGN); /* Ignore fatal signals */
return 1; signal (SIGSEGV, SIG_IGN);
case 1: signal (SIGFPE, SIG_IGN);
__ctordtorTerm ();
_CRT_term (); return 1;
return 1;
default: case 1:
return 0; __ctordtorTerm ();
} _CRT_term ();
return 1;
default:
return 0;
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment