From 18b32d7635efbd1345846f786a51281437bcfd54 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 8 Sep 2017 15:25:47 +0200 Subject: posix: Ignore pshared for semaphores Since we have only one process, sharing between processes is trivial. Close #3124. --- cpukit/posix/include/rtems/posix/semaphore.h | 1 - cpukit/posix/include/rtems/posix/semaphoreimpl.h | 1 - 2 files changed, 2 deletions(-) (limited to 'cpukit/posix/include/rtems') diff --git a/cpukit/posix/include/rtems/posix/semaphore.h b/cpukit/posix/include/rtems/posix/semaphore.h index 45de4a93b9..6598397052 100644 --- a/cpukit/posix/include/rtems/posix/semaphore.h +++ b/cpukit/posix/include/rtems/posix/semaphore.h @@ -43,7 +43,6 @@ extern "C" { typedef struct { Objects_Control Object; CORE_semaphore_Control Semaphore; - int process_shared; bool named; bool linked; uint32_t open_count; diff --git a/cpukit/posix/include/rtems/posix/semaphoreimpl.h b/cpukit/posix/include/rtems/posix/semaphoreimpl.h index 2bafbe9b97..43440298ec 100644 --- a/cpukit/posix/include/rtems/posix/semaphoreimpl.h +++ b/cpukit/posix/include/rtems/posix/semaphoreimpl.h @@ -78,7 +78,6 @@ RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get( int _POSIX_Semaphore_Create_support( const char *name, size_t name_len, - int pshared, unsigned int value, POSIX_Semaphore_Control **the_sem ); -- cgit v1.2.3