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 -1
View File
@@ -56,7 +56,6 @@
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include <semaphore.h>
#include <poll.h>
#include <errno.h>
#include <assert.h>
@@ -67,6 +66,7 @@
#include <nuttx/arch.h>
#include <nuttx/fs/fs.h>
#include <nuttx/i2c/i2c_master.h>
#include <nuttx/semaphore.h>
#include <nuttx/wqueue.h>
#include <nuttx/random.h>