summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/macros
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-02-01 18:57:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-02-01 18:57:34 +0000
commitd2e1d3a39e669c55c071fb9183fc073766e819fa (patch)
tree858a94eedf7f56f8802995a698d17854bddfb6e2 /cpukit/posix/macros
parent2006-02-01 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-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.inl3
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 ) { \