core: fix stdio.h include for assert

This commit is contained in:
Martine Lenders 2016-11-18 15:44:25 +01:00
parent 711415360f
commit 8406164ece
2 changed files with 2 additions and 2 deletions

View File

@ -13,6 +13,8 @@
* @author Martine Lenders <mlenders@inf.fu-berlin.de> * @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/ */
#include <stdio.h>
#include "assert.h" #include "assert.h"
#ifdef DEBUG_ASSERT_VERBOSE #ifdef DEBUG_ASSERT_VERBOSE

View File

@ -54,8 +54,6 @@ extern const char assert_crash_message[];
#ifdef NDEBUG #ifdef NDEBUG
#define assert(ignore)((void) 0) #define assert(ignore)((void) 0)
#elif defined(DEBUG_ASSERT_VERBOSE) #elif defined(DEBUG_ASSERT_VERBOSE)
#include <stdio.h>
/** /**
* @brief Function to handle failed assertion * @brief Function to handle failed assertion
* *