crypto/random_pool: Remove the unused header file(unistd.h and nuttx/arch.h)

and include the used header files(nuttx/clock.h and nuttx/semaphore.h)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-03-27 12:25:27 +08:00 committed by Petro Karashchenko
parent a721bc8830
commit 01cb137277

View File

@ -27,15 +27,14 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
#include <string.h> #include <string.h>
#include <unistd.h>
#include <debug.h> #include <debug.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <nuttx/arch.h>
#include <nuttx/random.h> #include <nuttx/random.h>
#include <nuttx/board.h> #include <nuttx/board.h>
#include <nuttx/clock.h>
#include <nuttx/semaphore.h>
#include <nuttx/crypto/blake2s.h> #include <nuttx/crypto/blake2s.h>
/**************************************************************************** /****************************************************************************