diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-09-15 02:14:28 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-09-15 02:14:28 +0000 |
commit | 4c6fa77a56978ba0ab5fd80f24fd827f96da60da (patch) | |
tree | d41fe8238fec7cc30522830bc2a5d9ce1e817de7 /cpukit/libcsupport | |
parent | 2003-09-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-4c6fa77a56978ba0ab5fd80f24fd827f96da60da.tar.bz2 |
2003-09-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 489/rtems
* src/newlibc.c: Reflect struct Thread_Control_struct.libc_reent
having changed from void * to struct _reent*.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libcsupport/src/newlibc.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/cpukit/libcsupport/ChangeLog b/cpukit/libcsupport/ChangeLog index 59247be357..ce1437301d 100644 --- a/cpukit/libcsupport/ChangeLog +++ b/cpukit/libcsupport/ChangeLog @@ -1,3 +1,9 @@ +2003-09-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + PR 489/rtems + * src/newlibc.c: Reflect struct Thread_Control_struct.libc_reent + having changed from void * to struct _reent*. + 2003-09-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de> PR 486/rtems diff --git a/cpukit/libcsupport/src/newlibc.c b/cpukit/libcsupport/src/newlibc.c index 0c957eedde..4c0e1d5279 100644 --- a/cpukit/libcsupport/src/newlibc.c +++ b/cpukit/libcsupport/src/newlibc.c @@ -193,7 +193,7 @@ rtems_extension libc_delete_hook( if (current_task == deleted_task) { ptr = _REENT; } else { - ptr = (struct _reent *) deleted_task->libc_reent; + ptr = deleted_task->libc_reent; } /* if (ptr) */ @@ -264,7 +264,7 @@ libc_init(int reentrant) #endif libc_extension.thread_delete = libc_delete_hook; - _Thread_Set_libc_reent ((void**) &_REENT); + _Thread_Set_libc_reent (&_REENT); rc = rtems_extension_create(rtems_build_name('L', 'I', 'B', 'C'), &libc_extension, &extension_id); |