summaryrefslogtreecommitdiffstats
path: root/PC/os2emx
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2002-12-31 11:23:50 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2002-12-31 11:23:50 (GMT)
commitd65778a9bff4b14cbd5e66b73c6fea28bc2cfedc (patch)
treeed0eba1b310dd9f2ae7fc77bbb76f2cdbaa01f29 /PC/os2emx
parent7c90a8950a1c65138a5fa0a0c06bf124d7ccfa5e (diff)
downloadcpython-d65778a9bff4b14cbd5e66b73c6fea28bc2cfedc.zip
cpython-d65778a9bff4b14cbd5e66b73c6fea28bc2cfedc.tar.gz
cpython-d65778a9bff4b14cbd5e66b73c6fea28bc2cfedc.tar.bz2
whitespace cleanup
Diffstat (limited to 'PC/os2emx')
-rw-r--r--PC/os2emx/dllentry.c37
1 files changed, 21 insertions, 16 deletions
diff --git a/PC/os2emx/dllentry.c b/PC/os2emx/dllentry.c
index ca3081d..ea8d366 100644
--- a/PC/os2emx/dllentry.c
+++ b/PC/os2emx/dllentry.c
@@ -19,20 +19,25 @@ extern void __ctordtorTerm (void);
unsigned long _DLL_InitTerm (unsigned long mod_handle, unsigned long flag)
{
- 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 ();
- return 1;
- default:
- return 0;
- }
+ 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 ();
+ return 1;
+
+ default:
+ return 0;
+ }
}