diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-05-27 16:47:13 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-05-27 16:47:13 +0000 |
commit | 83734c9d521ddadfabb9589da9574436fdf45f4a (patch) | |
tree | 845c1fe4db50e7e8a5454ca7dcf0aeba3210f439 /cpukit/score | |
parent | 2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-83734c9d521ddadfabb9589da9574436fdf45f4a.tar.bz2 |
2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
fini() as part of exit(). This avoids atexit() being a required
function.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/src/threadhandler.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/score/src/threadhandler.c b/cpukit/score/src/threadhandler.c index 0522061002..187ec62f39 100644 --- a/cpukit/score/src/threadhandler.c +++ b/cpukit/score/src/threadhandler.c @@ -130,9 +130,7 @@ void _Thread_Handler( void ) */ if (!doneCons) /* && (volatile void *)_init) */ { - extern void _fini( void ); _init (); - atexit( _fini ); } #endif #if defined(__USE__MAIN__) |