summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-21 17:30:52 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-12-07 14:22:01 +0100
commit9c9c6a93b1a17ad12f61b41e1d5f4616871cdba7 (patch)
treef17c5de012a4827131416d31dcb8a3e623be9873 /cpukit/posix
parentscore: Remove dead code (diff)
downloadrtems-9c9c6a93b1a17ad12f61b41e1d5f4616871cdba7.tar.bz2
score: Remove Objects_Information::is_string
Use Objects_Information::name_length to store this information. Update #3621.
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/src/key.c3
-rw-r--r--cpukit/posix/src/mqueue.c1
-rw-r--r--cpukit/posix/src/psxsemaphore.c1
-rw-r--r--cpukit/posix/src/ptimer.c3
-rw-r--r--cpukit/posix/src/shm.c1
5 files changed, 2 insertions, 7 deletions
diff --git a/cpukit/posix/src/key.c b/cpukit/posix/src/key.c
index 71c202926e..a39e8d6479 100644
--- a/cpukit/posix/src/key.c
+++ b/cpukit/posix/src/key.c
@@ -142,8 +142,7 @@ static void _POSIX_Keys_Manager_initialization(void)
/* maximum objects of this class */
sizeof( POSIX_Keys_Control ),
/* size of this object's control block */
- false, /* true if names for this object are strings */
- 0, /* maximum length of each object's name */
+ OBJECTS_NO_STRING_NAME, /* maximum length of each object's name */
NULL /* Proxy extraction support callout */
);
diff --git a/cpukit/posix/src/mqueue.c b/cpukit/posix/src/mqueue.c
index e2c9b5f2b2..192d853c35 100644
--- a/cpukit/posix/src/mqueue.c
+++ b/cpukit/posix/src/mqueue.c
@@ -54,7 +54,6 @@ static void _POSIX_Message_queue_Manager_initialization(void)
_Configuration_POSIX_Maximum_message_queues,
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 */
NULL /* Proxy extraction support callout */
);
diff --git a/cpukit/posix/src/psxsemaphore.c b/cpukit/posix/src/psxsemaphore.c
index 9e259b8ea3..a26ba7563e 100644
--- a/cpukit/posix/src/psxsemaphore.c
+++ b/cpukit/posix/src/psxsemaphore.c
@@ -45,7 +45,6 @@ static void _POSIX_Semaphore_Manager_initialization(void)
_Configuration_POSIX_Maximum_named_semaphores,
sizeof( POSIX_Semaphore_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 */
NULL /* Proxy extraction support callout */
);
diff --git a/cpukit/posix/src/ptimer.c b/cpukit/posix/src/ptimer.c
index 9472cd49e5..f3af1710b8 100644
--- a/cpukit/posix/src/ptimer.c
+++ b/cpukit/posix/src/ptimer.c
@@ -65,8 +65,7 @@ static void _POSIX_Timer_Manager_initialization(void)
_Configuration_POSIX_Maximum_timers,
sizeof( POSIX_Timer_Control ),
/* size of this object's control block */
- false, /* true if names for this object are strings */
- 0, /* maximum length of each object's name */
+ OBJECTS_NO_STRING_NAME, /* maximum length of an object name */
NULL /* Proxy extraction support callout */
);
}
diff --git a/cpukit/posix/src/shm.c b/cpukit/posix/src/shm.c
index 131aa1384b..5030a9376e 100644
--- a/cpukit/posix/src/shm.c
+++ b/cpukit/posix/src/shm.c
@@ -35,7 +35,6 @@ static void _POSIX_Shm_Manager_initialization( void )
_Configuration_POSIX_Maximum_shms,
sizeof( POSIX_Shm_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 */
NULL /* Proxy extraction support callout */
);