diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-11-25 08:33:31 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-11-25 08:33:31 +0100 |
commit | ac5f2442e35b5f98a32766e03335b12f0c679e55 (patch) | |
tree | 036c5fe3fd3dce48b27ddab39e609011cbd41508 /cpukit/libcsupport | |
parent | Fix _Assert() statement (diff) | |
download | rtems-ac5f2442e35b5f98a32766e03335b12f0c679e55.tar.bz2 |
Require __getreent()
This function is used by Newlib since 2013-07-09 (Git commit
9b51cd8c6b9cdd067d9648a7ab952884019c56a5).
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/newlibc_reent.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cpukit/libcsupport/src/newlibc_reent.c b/cpukit/libcsupport/src/newlibc_reent.c index bf8847ce13..26da252930 100644 --- a/cpukit/libcsupport/src/newlibc_reent.c +++ b/cpukit/libcsupport/src/newlibc_reent.c @@ -35,15 +35,6 @@ bool newlib_create_hook( rtems_tcb *creating_task ) { -#if !defined(__DYNAMIC_REENT__) - if (_Thread_libc_reent == 0) - { - _REENT = _GLOBAL_REENT; - - _Thread_Set_libc_reent (&_REENT); - } -#endif - _REENT_INIT_PTR((creating_task->libc_reent)); /* GCC extension: structure constants */ return true; |