diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-09-15 01:01:51 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-09-15 01:01:51 +0000 |
commit | d36b31523d7a7f328bc1b24127024cacaca4da74 (patch) | |
tree | 6c04e40bd99c651625a9fd358bd1c11027969abc | |
parent | 2003-09-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-d36b31523d7a7f328bc1b24127024cacaca4da74.tar.bz2 |
2003-09-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
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.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/ChangeLog | 7 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 5 | ||||
-rw-r--r-- | cpukit/score/inline/rtems/score/thread.inl | 4 |
3 files changed, 11 insertions, 5 deletions
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 <corsepiu@faw.uni-ulm.de> + + 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 <derick@perkinstechnologies.com.au> 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; |