summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/rtems/posix/mqueueimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/include/rtems/posix/mqueueimpl.h')
-rw-r--r--cpukit/posix/include/rtems/posix/mqueueimpl.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/cpukit/posix/include/rtems/posix/mqueueimpl.h b/cpukit/posix/include/rtems/posix/mqueueimpl.h
index 491f716a47..9d13226f3e 100644
--- a/cpukit/posix/include/rtems/posix/mqueueimpl.h
+++ b/cpukit/posix/include/rtems/posix/mqueueimpl.h
@@ -112,7 +112,7 @@ RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get(
)
{
return (POSIX_Message_queue_Control *)
- _Objects_Get_local( id, &_POSIX_Message_queue_Information, lock_context );
+ _Objects_Get_local( id, lock_context, &_POSIX_Message_queue_Information );
}
/*
@@ -164,19 +164,6 @@ RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Namespace_remove (
}
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *
-_POSIX_Message_queue_Get_interrupt_disable(
- mqd_t id,
- ISR_lock_Context *lock_context
-)
-{
- return (POSIX_Message_queue_Control *) _Objects_Get_local(
- (Objects_Id) id,
- &_POSIX_Message_queue_Information,
- lock_context
- );
-}
-
-RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *
_POSIX_Message_queue_Get_by_name(
const char *name,
size_t *name_length_p,