From d36b31523d7a7f328bc1b24127024cacaca4da74 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 15 Sep 2003 01:01:51 +0000 Subject: 2003-09-15 Ralf Corsepius PR 489/rtems * include/rtems/score/thread.h: Change struct Thread_Control_struct.libc_reent to using struct _reent*. * inline/rtems/score/thread.inl: Reflect change above. --- cpukit/score/ChangeLog | 7 +++++++ cpukit/score/include/rtems/score/thread.h | 5 ++--- cpukit/score/inline/rtems/score/thread.inl | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) (limited to 'cpukit') diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog index b60f33cb66..a7528ffd72 100644 --- a/cpukit/score/ChangeLog +++ b/cpukit/score/ChangeLog @@ -1,3 +1,10 @@ +2003-09-15 Ralf Corsepius + + PR 489/rtems + * include/rtems/score/thread.h: Change struct + Thread_Control_struct.libc_reent to using struct _reent*. + * inline/rtems/score/thread.inl: Reflect change above. + 2003-09-08 Derick Hammond PR 484/rtems diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 386c459bfd..ef4119301c 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -220,7 +220,7 @@ struct Thread_Control_struct { #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) void *fp_context; #endif - void *libc_reent; + struct _reent *libc_reent; void *API_Extensions[ THREAD_API_LAST + 1 ]; void **extensions; rtems_task_variable_t *task_variables; @@ -323,8 +323,7 @@ SCORE_EXTERN Thread_Control *_Thread_Allocated_fp; * switch. The pointer points to that global pointer. The Thread control block * holds a pointer to the task specific data. */ - -SCORE_EXTERN void **_Thread_libc_reent; +SCORE_EXTERN struct _reent **_Thread_libc_reent; /* * _Thread_Handler_initialization diff --git a/cpukit/score/inline/rtems/score/thread.inl b/cpukit/score/inline/rtems/score/thread.inl index a3a72e7d4e..1154c061d2 100644 --- a/cpukit/score/inline/rtems/score/thread.inl +++ b/cpukit/score/inline/rtems/score/thread.inl @@ -402,7 +402,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Internal_free ( * This routine returns the C library re-enterant pointer. */ -RTEMS_INLINE_ROUTINE void **_Thread_Get_libc_reent( void ) +RTEMS_INLINE_ROUTINE struct _reent **_Thread_Get_libc_reent( void ) { return _Thread_libc_reent; } @@ -417,7 +417,7 @@ RTEMS_INLINE_ROUTINE void **_Thread_Get_libc_reent( void ) */ RTEMS_INLINE_ROUTINE void _Thread_Set_libc_reent ( - void **libc_reent + struct _reent **libc_reent ) { _Thread_libc_reent = libc_reent; -- cgit v1.2.3