[PATCH 11/12] posix: Delete POSIX_Mutex_Protocol::process_shared
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri May 27 13:50:40 UTC 2016
---
cpukit/posix/include/rtems/posix/mutex.h | 2 --
cpukit/posix/src/mutexinit.c | 2 --
2 files changed, 4 deletions(-)
diff --git a/cpukit/posix/include/rtems/posix/mutex.h b/cpukit/posix/include/rtems/posix/mutex.h
index bc8e529..e1dfa34 100644
--- a/cpukit/posix/include/rtems/posix/mutex.h
+++ b/cpukit/posix/include/rtems/posix/mutex.h
@@ -20,7 +20,6 @@
#define _RTEMS_POSIX_MUTEX_H
#include <rtems/score/coremutex.h>
-#include <pthread.h>
#ifdef __cplusplus
extern "C" {
@@ -43,7 +42,6 @@ extern "C" {
typedef struct {
Objects_Control Object;
CORE_mutex_Control Mutex;
- int process_shared;
} POSIX_Mutex_Control;
/** @} */
diff --git a/cpukit/posix/src/mutexinit.c b/cpukit/posix/src/mutexinit.c
index 8de76d0..d90b391 100644
--- a/cpukit/posix/src/mutexinit.c
+++ b/cpukit/posix/src/mutexinit.c
@@ -117,8 +117,6 @@ int pthread_mutex_init(
return EAGAIN;
}
- the_mutex->process_shared = the_attr->process_shared;
-
the_mutex_attr = &the_mutex->Mutex.Attributes;
if ( the_attr->type == PTHREAD_MUTEX_RECURSIVE )
--
1.8.4.5
More information about the devel
mailing list