From d2e1d3a39e669c55c071fb9183fc073766e819fa Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 1 Feb 2006 18:57:34 +0000 Subject: 2006-02-01 Joel Sherrill * posix/inline/rtems/posix/cond.inl, posix/macros/rtems/posix/cond.inl, posix/src/conddestroy.c: Remove warnings. --- cpukit/posix/macros/rtems/posix/cond.inl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/posix/macros') diff --git a/cpukit/posix/macros/rtems/posix/cond.inl b/cpukit/posix/macros/rtems/posix/cond.inl index 2fa4ebb2a1..0de7c9479d 100644 --- a/cpukit/posix/macros/rtems/posix/cond.inl +++ b/cpukit/posix/macros/rtems/posix/cond.inl @@ -53,8 +53,9 @@ * PTHREAD_COND_INITIALIZER without adding overhead. */ -#define ___POSIX_Condition_variables_Get_support( _id, _location ) \ +#define ___POSIX_Condition_variables_Get_support( _cond, _location ) \ do { \ + Objects_Id *id = (Objects_Id *)_cond; \ int _status; \ \ if ( !_id ) { \ -- cgit v1.2.3