mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:22:18 +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:
@@ -56,7 +56,6 @@
|
||||
|
||||
#include <nuttx/clock.h>
|
||||
#include <nuttx/kthread.h>
|
||||
#include <nuttx/semaphore.h>
|
||||
#include <nuttx/wqueue.h>
|
||||
#include <nuttx/net/bluetooth.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
|
||||
@@ -49,9 +49,9 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <semaphore.h>
|
||||
#include <mqueue.h>
|
||||
|
||||
#include <nuttx/semaphore.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_driver.h>
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -52,7 +52,6 @@
|
||||
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/wqueue.h>
|
||||
#include <nuttx/semaphore.h>
|
||||
|
||||
#include <nuttx/mm/iob.h>
|
||||
|
||||
|
||||
@@ -42,12 +42,12 @@
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <semaphore.h>
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/mm/iob.h>
|
||||
#include <nuttx/semaphore.h>
|
||||
|
||||
#include <nuttx/wireless/pktradio.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user