mirror of
https://github.com/gosticks/RIOT.git
synced 2025-10-16 12:05:37 +00:00
Merge pull request #6147 from miri64/2016.10/core/fix/assert-stdio-include
core: fix stdio.h include for assert
This commit is contained in:
commit
21cf0f5939
@ -13,6 +13,8 @@
|
||||
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "assert.h"
|
||||
|
||||
#ifdef DEBUG_ASSERT_VERBOSE
|
||||
|
||||
@ -54,8 +54,6 @@ extern const char assert_crash_message[];
|
||||
#ifdef NDEBUG
|
||||
#define assert(ignore)((void) 0)
|
||||
#elif defined(DEBUG_ASSERT_VERBOSE)
|
||||
#include <stdio.h>
|
||||
|
||||
/**
|
||||
* @brief Function to handle failed assertion
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user