Include assert.h in necessary place

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-06-09 02:00:55 +08:00
committed by David Sidrane
parent 131e2490c9
commit 5b2a17b892
162 changed files with 169 additions and 2 deletions
+1
View File
@@ -25,6 +25,7 @@
#include <nuttx/config.h>
#include <stdint.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+2
View File
@@ -24,6 +24,8 @@
#include <nuttx/config.h>
#include <assert.h>
#include <arch/board/board.h>
#include <nuttx/irq.h>
#include <nuttx/arch.h>
+1
View File
@@ -26,6 +26,7 @@
****************************************************************************/
#include <nuttx/config.h>
#include <assert.h>
#include <debug.h>
#include <sys/types.h>
+1
View File
@@ -32,6 +32,7 @@
#include <string.h>
#include <semaphore.h>
#include <fcntl.h>
#include <assert.h>
#include <debug.h>
#include <errno.h>
+3
View File
@@ -23,6 +23,9 @@
****************************************************************************/
#include <nuttx/config.h>
#include <assert.h>
#include <nuttx/i2c/i2c_master.h>
#include <nuttx/i2c/i2c_bitbang.h>
#include <nuttx/kmalloc.h>
@@ -32,6 +32,7 @@
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <assert.h>
#include <debug.h>
#include <errno.h>
+1
View File
@@ -32,6 +32,7 @@
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>
#include <debug.h>
#include <errno.h>
+1
View File
@@ -29,6 +29,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -70,6 +70,7 @@
#include <nuttx/config.h>
#include <assert.h>
#include <errno.h>
#include <nuttx/irq.h>
+1
View File
@@ -29,6 +29,7 @@
#include <stdbool.h>
#include <unistd.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -27,6 +27,7 @@
#include <stdint.h>
#include <stddef.h>
#include <time.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/arch.h>
#include <nuttx/spinlock.h>
@@ -25,6 +25,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/arch.h>
+1
View File
@@ -26,6 +26,7 @@
#include <stdint.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <stdint.h>
#include <assert.h>
#include <nuttx/irq.h>
#include <nuttx/arch.h>
+1
View File
@@ -25,6 +25,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/irq.h>
+1
View File
@@ -26,6 +26,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -25,6 +25,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/irq.h>
+1
View File
@@ -28,6 +28,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -29,6 +29,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <stdbool.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -30,6 +30,7 @@
#include <stdint.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -25,6 +25,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/irq.h>
+1
View File
@@ -26,6 +26,7 @@
#include <stdbool.h>
#include <sched.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -26,6 +26,7 @@
#include <stdbool.h>
#include <sched.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -50,6 +50,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <stdbool.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -30,6 +30,7 @@
#define CONFIG_DEBUG_INFO 1
#include <sys/types.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/irq.h>
+1
View File
@@ -76,6 +76,7 @@
#include <nuttx/config.h>
#include <assert.h>
#include <errno.h>
#include <arch/board/board.h>
+1
View File
@@ -29,6 +29,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -30,6 +30,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <semaphore.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+2
View File
@@ -24,6 +24,8 @@
#include <nuttx/config.h>
#include <assert.h>
/* Output debug info even if debug output is not selected. */
#undef CONFIG_DEBUG_INFO
+1
View File
@@ -29,6 +29,7 @@
#include <stdbool.h>
#include <unistd.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -46,6 +46,7 @@
#include <nuttx/config.h>
#include <stdint.h>
#include <assert.h>
#include <errno.h>
#include <nuttx/irq.h>
+1
View File
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <sched.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/kmalloc.h>
+1
View File
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <sched.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/kmalloc.h>
#include <nuttx/arch.h>
+1
View File
@@ -29,6 +29,7 @@
#include <stdbool.h>
#include <time.h>
#include <string.h>
#include <assert.h>
#include <debug.h>
#include <errno.h>
+2
View File
@@ -25,6 +25,8 @@
#include <nuttx/config.h>
#include <nuttx/irq.h>
#include <assert.h>
#include "up_internal.h"
#include "m9s12_serial.h"
+1
View File
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <sched.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/kmalloc.h>
+1
View File
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <sched.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/kmalloc.h>
+1
View File
@@ -29,6 +29,7 @@
#include <stdbool.h>
#include <unistd.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <sched.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/kmalloc.h>
+1
View File
@@ -24,6 +24,7 @@
#include <nuttx/config.h>
#include <stdint.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <sched.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/kmalloc.h>
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <sched.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/kmalloc.h>
+1
View File
@@ -24,6 +24,7 @@
#include <nuttx/config.h>
#include <stdint.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <sched.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/kmalloc.h>
+1
View File
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <sched.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/kmalloc.h>
+1
View File
@@ -25,6 +25,7 @@
#include <nuttx/config.h>
#include <stdint.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/irq.h>
+1
View File
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <sched.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/kmalloc.h>
+1
View File
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <sched.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/kmalloc.h>
+1
View File
@@ -29,6 +29,7 @@
#include <stdbool.h>
#include <unistd.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <debug.h>
+1
View File
@@ -26,6 +26,7 @@
#include <stdint.h>
#include <sched.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/irq.h>

Some files were not shown because too many files have changed in this diff Show More