mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
Keep compiler happy by making some casts explicit. (PR859)
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2006-01-15 Eric Norum <norume@aps.anl.gov>
|
||||||
|
|
||||||
|
* /posix/inline/rtems/posix/cond.inl, /posix/inline/rtems/posix/mutex.inl,
|
||||||
|
/posix/macros/rtems/posix/cond.inl /posix/macros/rtems/posix/mutex.inl:
|
||||||
|
Keep compiler happy by making some casts explicit.
|
||||||
|
|
||||||
2006-01-13 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2006-01-13 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* Makefile.am: Remove doxygen support having accidentially slipped
|
* Makefile.am: Remove doxygen support having accidentially slipped
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control
|
|||||||
* Do an "auto-create" here.
|
* Do an "auto-create" here.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
status = pthread_cond_init( id, 0 );
|
status = pthread_cond_init( (pthread_cond_t *)id, 0 );
|
||||||
if ( status ) {
|
if ( status ) {
|
||||||
*location = OBJECTS_ERROR;
|
*location = OBJECTS_ERROR;
|
||||||
return (POSIX_Condition_variables_Control *) 0;
|
return (POSIX_Condition_variables_Control *) 0;
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free (
|
|||||||
* Do an "auto-create" here. \
|
* Do an "auto-create" here. \
|
||||||
*/ \
|
*/ \
|
||||||
\
|
\
|
||||||
_status = pthread_mutex_init( _id, 0 ); \
|
_status = pthread_mutex_init( (pthread_mutex_t *)_id, 0 ); \
|
||||||
if ( _status ) { \
|
if ( _status ) { \
|
||||||
*_location = OBJECTS_ERROR; \
|
*_location = OBJECTS_ERROR; \
|
||||||
return (POSIX_Mutex_Control *) 0; \
|
return (POSIX_Mutex_Control *) 0; \
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
* Do an "auto-create" here. \
|
* Do an "auto-create" here. \
|
||||||
*/ \
|
*/ \
|
||||||
\
|
\
|
||||||
_status = pthread_cond_init( _id, 0 ); \
|
_status = pthread_cond_init( (pthread_cond_t *)_id, 0 ); \
|
||||||
if ( _status ) { \
|
if ( _status ) { \
|
||||||
*_location = OBJECTS_ERROR; \
|
*_location = OBJECTS_ERROR; \
|
||||||
return (POSIX_Condition_variables_Control *) 0; \
|
return (POSIX_Condition_variables_Control *) 0; \
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
* Do an "auto-create" here. \
|
* Do an "auto-create" here. \
|
||||||
*/ \
|
*/ \
|
||||||
\
|
\
|
||||||
_status = pthread_mutex_init( _id, 0 ); \
|
_status = pthread_mutex_init( (pthread_mutex_t *)_id, 0 ); \
|
||||||
if ( _status ) { \
|
if ( _status ) { \
|
||||||
*_location = OBJECTS_ERROR; \
|
*_location = OBJECTS_ERROR; \
|
||||||
return (POSIX_Mutex_Control *) 0; \
|
return (POSIX_Mutex_Control *) 0; \
|
||||||
|
|||||||
Reference in New Issue
Block a user