kernel/semaphore: move non-standard prototype
authorHeesub Shin <heesub.shin@samsung.com>
Thu, 6 Apr 2017 00:59:58 +0000 (09:59 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:11 +0000 (12:02 +0900)
commit827b3d385f6642bfb8ba8cca4c64795f03c97cd8
tree7d10ed4ef5cf2396c426d2c9f2792e3d80c790d5
parentd30a86f588646bdd4fbfeeb6b3fa856e9bcb5fe5
kernel/semaphore: move non-standard prototype

Move prototypes for the non-standard include/semaphore.h file to the
non-standard include/tinyara/semaphore.h with the other non-standard
semaphore interfaces.

All credits should go to Gregory Nutt who wrote the original patch.

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