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*.
This commit is contained in:
Ralf Corsepius
2003-09-15 00:58:13 +00:00
parent 65fd5ae089
commit 7bd88b5495
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -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>
* src/sync.c: Don't undef __STRICT_ANSI__.
+2 -2
View File
@@ -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);