libdsp: fix gcc14 error and clean up includes

This commit is contained in:
raiden00pl 2024-06-01 11:31:27 +02:00 committed by Alan Carvalho de Assis
parent d942e373bc
commit 105e4f44d4
9 changed files with 5 additions and 16 deletions

View File

@ -27,6 +27,7 @@
#include <nuttx/compiler.h> #include <nuttx/compiler.h>
#include <assert.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
@ -36,7 +37,7 @@
* Pre-processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Disable DEBUGASSERT macro if LIBDSP debug is not enabled */ /* Disable DEBUGASSER macro if LIBDSP debug is not enabled */
#ifdef CONFIG_LIBDSP_DEBUG #ifdef CONFIG_LIBDSP_DEBUG
# ifndef CONFIG_DEBUG_ASSERTIONS # ifndef CONFIG_DEBUG_ASSERTIONS

View File

@ -27,6 +27,7 @@
#include <nuttx/compiler.h> #include <nuttx/compiler.h>
#include <assert.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>

View File

@ -22,7 +22,6 @@
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <assert.h>
#include <dsp.h> #include <dsp.h>
#include <string.h> #include <string.h>

View File

@ -22,10 +22,8 @@
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <string.h>
#include <stdbool.h>
#include <dsp.h> #include <dsp.h>
#include <string.h>
/**************************************************************************** /****************************************************************************
* Private Functions * Private Functions

View File

@ -22,10 +22,8 @@
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <string.h>
#include <stdbool.h>
#include <dspb16.h> #include <dspb16.h>
#include <string.h>
/**************************************************************************** /****************************************************************************
* Private Functions * Private Functions

View File

@ -109,9 +109,6 @@
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <nuttx/config.h>
#include <assert.h>
#include <dsp.h> #include <dsp.h>
#include <string.h> #include <string.h>

View File

@ -22,9 +22,6 @@
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <nuttx/config.h>
#include <assert.h>
#include <dspb16.h> #include <dspb16.h>
#include <string.h> #include <string.h>

View File

@ -22,7 +22,6 @@
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <assert.h>
#include <dsp.h> #include <dsp.h>
#include <string.h> #include <string.h>

View File

@ -22,7 +22,6 @@
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <assert.h>
#include <dspb16.h> #include <dspb16.h>
#include <string.h> #include <string.h>