Skip to content

Commit

Permalink
fix: include stdbool.h in irq.h and remove redundant irq.h inclusion …
Browse files Browse the repository at this point in the history
…in mode.h
  • Loading branch information
no1wudi committed Sep 10, 2024
1 parent 6c339da commit 53a12c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions arch/risc-v/include/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

#include <nuttx/config.h>

#include <stdbool.h>
#include <sys/types.h>

#include <arch/csr.h>
Expand Down
1 change: 0 additions & 1 deletion arch/risc-v/include/mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
****************************************************************************/

#include <nuttx/config.h>
#include <nuttx/irq.h>

/****************************************************************************
* Pre-processor Definitions
Expand Down

0 comments on commit 53a12c2

Please sign in to comment.