diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-19 13:39:00 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-21 07:29:39 +0200 |
commit | f05eeb2091803b17f89045a685028e9e403f06eb (patch) | |
tree | 0773deca2b81089746cf1a4e7c8725ab0ab89ca8 /cpukit/posix/src/mqueue.c | |
parent | score: Introduce _Thread_queue_Flush_critical() (diff) | |
download | rtems-f05eeb2091803b17f89045a685028e9e403f06eb.tar.bz2 |
score: Simplify _Objects_Initialize_information()
Remove unused supports_global parameter. Convert
_Objects_Initialize_information() to a macro to avoid use of
RTEMS_MULTIPROCESSING define for each caller.
Diffstat (limited to 'cpukit/posix/src/mqueue.c')
-rw-r--r-- | cpukit/posix/src/mqueue.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/cpukit/posix/src/mqueue.c b/cpukit/posix/src/mqueue.c index 0f261f6947..e5fc3a0b5d 100644 --- a/cpukit/posix/src/mqueue.c +++ b/cpukit/posix/src/mqueue.c @@ -58,12 +58,8 @@ static void _POSIX_Message_queue_Manager_initialization(void) sizeof( POSIX_Message_queue_Control ), /* size of this object's control block */ true, /* true if names for this object are strings */ - _POSIX_PATH_MAX /* maximum length of each object's name */ -#if defined(RTEMS_MULTIPROCESSING) - , - false, /* true if this is a global object class */ + _POSIX_PATH_MAX, /* maximum length of each object's name */ NULL /* Proxy extraction support callout */ -#endif ); _Objects_Initialize_information( &_POSIX_Message_queue_Information_fds, @@ -73,12 +69,8 @@ static void _POSIX_Message_queue_Manager_initialization(void) sizeof( POSIX_Message_queue_Control_fd ), /* size of this object's control block */ true, /* true if names for this object are strings */ - NAME_MAX /* maximum length of each object's name */ -#if defined(RTEMS_MULTIPROCESSING) - , - false, /* true if this is a global object class */ + NAME_MAX, /* maximum length of each object's name */ NULL /* Proxy extraction support callout */ -#endif ); } |