Eliminate some warnings

This commit is contained in:
Gregory Nutt
2016-06-13 14:01:32 -06:00
parent d5275e48d0
commit 0f249016a0
51 changed files with 303 additions and 321 deletions
+8 -4
View File
@@ -44,10 +44,14 @@
*/
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG_FEATURES
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG_FEATURES 1
# define CONFIG_DEBUG_INFO 1
# undef CONFIG_DEBUG_FEATURES
# undef CONFIG_DEBUG_ERROR
# undef CONFIG_DEBUG_WARN
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG_FEATURES 1
# define CONFIG_DEBUG_ERROR 1
# define CONFIG_DEBUG_WARN 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>
+4
View File
@@ -42,8 +42,12 @@
/* Output debug info -- even if debug is not selected. */
#undef CONFIG_DEBUG_FEATURES
#undef CONFIG_DEBUG_ERROR
#undef CONFIG_DEBUG_WARN
#undef CONFIG_DEBUG_INFO
#define CONFIG_DEBUG_FEATURES 1
#define CONFIG_DEBUG_ERROR 1
#define CONFIG_DEBUG_WARN 1
#define CONFIG_DEBUG_INFO 1
#include <stdint.h>
-8
View File
@@ -63,14 +63,6 @@
#define STACK_ALIGN_DOWN(a) ((a) & ~STACK_ALIGN_MASK)
#define STACK_ALIGN_UP(a) (((a) + STACK_ALIGN_MASK) & ~STACK_ALIGN_MASK)
/****************************************************************************
* Private Types
****************************************************************************/
/****************************************************************************
* Private Function Prototypes
****************************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
+4
View File
@@ -42,8 +42,12 @@
/* Output debug info -- even if debug is not selected. */
#undef CONFIG_DEBUG_FEATURES
#undef CONFIG_DEBUG_ERROR
#undef CONFIG_DEBUG_WARN
#undef CONFIG_DEBUG_INFO
#define CONFIG_DEBUG_FEATURES 1
#define CONFIG_DEBUG_ERROR 1
#define CONFIG_DEBUG_WARN 1
#define CONFIG_DEBUG_INFO 1
#include <debug.h>
+4
View File
@@ -42,8 +42,12 @@
/* Output debug info -- even if debug is not selected. */
#undef CONFIG_DEBUG_FEATURES
#undef CONFIG_DEBUG_ERROR
#undef CONFIG_DEBUG_WARN
#undef CONFIG_DEBUG_INFO
#define CONFIG_DEBUG_FEATURES 1
#define CONFIG_DEBUG_ERROR 1
#define CONFIG_DEBUG_WARN 1
#define CONFIG_DEBUG_INFO 1
#include <debug.h>
+6
View File
@@ -41,9 +41,15 @@
/* Output debug info -- even if debug is not selected. */
/* Output debug info -- even if debug is not selected. */
#undef CONFIG_DEBUG_FEATURES
#undef CONFIG_DEBUG_ERROR
#undef CONFIG_DEBUG_WARN
#undef CONFIG_DEBUG_INFO
#define CONFIG_DEBUG_FEATURES 1
#define CONFIG_DEBUG_ERROR 1
#define CONFIG_DEBUG_WARN 1
#define CONFIG_DEBUG_INFO 1
#include <stdint.h>
+4
View File
@@ -42,8 +42,12 @@
/* Output debug info -- even if debug is not selected. */
#undef CONFIG_DEBUG_FEATURES
#undef CONFIG_DEBUG_ERROR
#undef CONFIG_DEBUG_WARN
#undef CONFIG_DEBUG_INFO
#define CONFIG_DEBUG_FEATURES 1
#define CONFIG_DEBUG_ERROR 1
#define CONFIG_DEBUG_WARN 1
#define CONFIG_DEBUG_INFO 1
#include <debug.h>