From 7bd88b54950e0dd5a4a0c635a12f69a33d237e71 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 15 Sep 2003 00:58:13 +0000 Subject: 2003-09-15 Ralf Corsepius PR 489/rtems * src/newlibc.c: Reflect struct Thread_Control_struct.libc_reent having changed from void * to struct _reent*. --- cpukit/libcsupport/src/newlibc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/libcsupport/src/newlibc.c') 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); -- cgit v1.2.3