summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/posix/inline/cond.inl1
-rw-r--r--c/src/exec/posix/inline/rtems/posix/cond.inl1
-rw-r--r--cpukit/posix/inline/rtems/posix/cond.inl1
3 files changed, 3 insertions, 0 deletions
diff --git a/c/src/exec/posix/inline/cond.inl b/c/src/exec/posix/inline/cond.inl
index c85546027f..c61892cd1e 100644
--- a/c/src/exec/posix/inline/cond.inl
+++ b/c/src/exec/posix/inline/cond.inl
@@ -55,6 +55,7 @@ RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variabl
)
{
/* XXX really should validate pointer */
+/* XXX should support COND_INITIALIZER */
return (POSIX_Condition_variables_Control *)
_Objects_Get( &_POSIX_Condition_variables_Information, *id, location );
}
diff --git a/c/src/exec/posix/inline/rtems/posix/cond.inl b/c/src/exec/posix/inline/rtems/posix/cond.inl
index c85546027f..c61892cd1e 100644
--- a/c/src/exec/posix/inline/rtems/posix/cond.inl
+++ b/c/src/exec/posix/inline/rtems/posix/cond.inl
@@ -55,6 +55,7 @@ RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variabl
)
{
/* XXX really should validate pointer */
+/* XXX should support COND_INITIALIZER */
return (POSIX_Condition_variables_Control *)
_Objects_Get( &_POSIX_Condition_variables_Information, *id, location );
}
diff --git a/cpukit/posix/inline/rtems/posix/cond.inl b/cpukit/posix/inline/rtems/posix/cond.inl
index c85546027f..c61892cd1e 100644
--- a/cpukit/posix/inline/rtems/posix/cond.inl
+++ b/cpukit/posix/inline/rtems/posix/cond.inl
@@ -55,6 +55,7 @@ RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variabl
)
{
/* XXX really should validate pointer */
+/* XXX should support COND_INITIALIZER */
return (POSIX_Condition_variables_Control *)
_Objects_Get( &_POSIX_Condition_variables_Information, *id, location );
}