Replace #include <semaphore.h> to #include <nuttx/semaphore.h>

Since the kernel side should call nxsem_xxx instead and remove the unused inclusion
This commit is contained in:
Xiang Xiao
2020-02-01 15:17:32 +08:00
committed by Gregory Nutt
parent 95dc647c3c
commit 5c80b94820
566 changed files with 239 additions and 664 deletions
-1
View File
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
#include <semaphore.h>
#include <errno.h>
#include "semaphore/semaphore.h"
-1
View File
@@ -40,7 +40,6 @@
#include <nuttx/config.h>
#include <semaphore.h>
#include <sched.h>
#include <assert.h>
#include <debug.h>
-1
View File
@@ -41,7 +41,6 @@
#include <nuttx/config.h>
#include <limits.h>
#include <semaphore.h>
#include <errno.h>
#include <sched.h>
-1
View File
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
#include <semaphore.h>
#include <sched.h>
#include <assert.h>
-2
View File
@@ -42,8 +42,6 @@
#include <assert.h>
#include <errno.h>
#include <nuttx/semaphore.h>
#include "semaphore/semaphore.h"
#ifdef CONFIG_PRIORITY_INHERITANCE
-2
View File
@@ -41,7 +41,6 @@
#include <stdint.h>
#include <unistd.h>
#include <semaphore.h>
#include <time.h>
#include <errno.h>
#include <debug.h>
@@ -50,7 +49,6 @@
#include <nuttx/arch.h>
#include <nuttx/clock.h>
#include <nuttx/wdog.h>
#include <nuttx/semaphore.h>
#include "sched/sched.h"
#include "semaphore/semaphore.h"
-2
View File
@@ -41,7 +41,6 @@
#include <stdint.h>
#include <unistd.h>
#include <semaphore.h>
#include <time.h>
#include <errno.h>
#include <debug.h>
@@ -50,7 +49,6 @@
#include <nuttx/arch.h>
#include <nuttx/wdog.h>
#include <nuttx/cancelpt.h>
#include <nuttx/semaphore.h>
#include "sched/sched.h"
#include "clock/clock.h"
-1
View File
@@ -40,7 +40,6 @@
#include <nuttx/config.h>
#include <stdbool.h>
#include <semaphore.h>
#include <sched.h>
#include <errno.h>
-1
View File
@@ -40,7 +40,6 @@
#include <nuttx/config.h>
#include <stdbool.h>
#include <semaphore.h>
#include <errno.h>
#include <assert.h>
+1 -1
View File
@@ -42,10 +42,10 @@
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <nuttx/semaphore.h>
#include <stdint.h>
#include <stdbool.h>
#include <semaphore.h>
#include <sched.h>
#include <queue.h>