diff options
author | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2002-12-31 11:23:50 (GMT) |
---|---|---|
committer | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2002-12-31 11:23:50 (GMT) |
commit | d65778a9bff4b14cbd5e66b73c6fea28bc2cfedc (patch) | |
tree | ed0eba1b310dd9f2ae7fc77bbb76f2cdbaa01f29 | |
parent | 7c90a8950a1c65138a5fa0a0c06bf124d7ccfa5e (diff) | |
download | cpython-d65778a9bff4b14cbd5e66b73c6fea28bc2cfedc.zip cpython-d65778a9bff4b14cbd5e66b73c6fea28bc2cfedc.tar.gz cpython-d65778a9bff4b14cbd5e66b73c6fea28bc2cfedc.tar.bz2 |
whitespace cleanup
-rw-r--r-- | PC/os2emx/dllentry.c | 37 |
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; + } } |