diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-02-01 18:57:34 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-02-01 18:57:34 +0000 |
commit | d2e1d3a39e669c55c071fb9183fc073766e819fa (patch) | |
tree | 858a94eedf7f56f8802995a698d17854bddfb6e2 /cpukit/posix/macros | |
parent | 2006-02-01 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-d2e1d3a39e669c55c071fb9183fc073766e819fa.tar.bz2 |
2006-02-01 Joel Sherrill <joel@OARcorp.com>
* posix/inline/rtems/posix/cond.inl, posix/macros/rtems/posix/cond.inl,
posix/src/conddestroy.c: Remove warnings.
Diffstat (limited to 'cpukit/posix/macros')
-rw-r--r-- | cpukit/posix/macros/rtems/posix/cond.inl | 3 |
1 files changed, 2 insertions, 1 deletions
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 ) { \ |