kernel/semaphore: fix broken macros
authorHeesub Shin <heesub.shin@samsung.com>
Thu, 6 Apr 2017 02:11:50 +0000 (11:11 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:11 +0000 (12:02 +0900)
commit7f7c7e293df050f75c023dcce7511352cd0aadc8
tree2a6b7a897befadce9fe624f190422c816a2d15a3
parent84b4281e058d36015fc3af4ac7aa7e50339e7795
kernel/semaphore: fix broken macros

Fixes compilation errors that might happen when
CONFIG_PRIORITY_INHERITANCE is not set.

Change-Id: I926c32914e928de03c11015aa64a63164f19d25c
Signed-off-by: Gregory Nutt <gnutt@nuttx.org>
[Shin: backported 4c8ec0d2 from NuttX]
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
lib/libc/semaphore/Make.defs
lib/libc/semaphore/sem_getprotocol.c
os/include/tinyara/semaphore.h
os/kernel/semaphore/Make.defs
os/kernel/semaphore/sem_setprotocol.c
os/syscall/syscall.csv