mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
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:
+2
-2
@@ -46,7 +46,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <semaphore.h>
|
||||
#include <mqueue.h>
|
||||
#include <fcntl.h>
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
@@ -57,7 +57,7 @@
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/audio/audio.h>
|
||||
#include <mqueue.h>
|
||||
#include <nuttx/semaphore.h>
|
||||
|
||||
#include <arch/irq.h>
|
||||
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <semaphore.h>
|
||||
#include <errno.h>
|
||||
#include <debug.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user