diff options
| author | ngkaho1234 <ngkaho1234@gmail.com> | 2016-02-03 10:29:28 +0000 |
|---|---|---|
| committer | ngkaho1234 <ngkaho1234@gmail.com> | 2016-02-03 10:34:03 +0000 |
| commit | 1a75ade57c50a58d8d6797f41cc0d9bf8edb4c47 (patch) | |
| tree | cfe16472cae54a82b51b98dd22eb45ab1981f374 /include/ext4_debug.h | |
| parent | 7a2fbb4fdb0fbbe196d6d936dee74e65c25909ab (diff) | |
Remove unnecessary stdio.h .
Diffstat (limited to 'include/ext4_debug.h')
| -rw-r--r-- | include/ext4_debug.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ext4_debug.h b/include/ext4_debug.h index 2afc39c..6eb8aa1 100644 --- a/include/ext4_debug.h +++ b/include/ext4_debug.h @@ -49,7 +49,6 @@ extern "C" { #endif #include <stdint.h> -#include <stdio.h> #include <inttypes.h> #ifndef PRIu64 @@ -143,6 +142,8 @@ void ext4_dmask_clr(uint32_t m); uint32_t ext4_dmask_get(void); #if CONFIG_DEBUG_PRINTF +#include <stdio.h> + /**@brief Debug printf.*/ #define ext4_dbg(m, ...) \ do { \ @@ -162,6 +163,8 @@ uint32_t ext4_dmask_get(void); #if CONFIG_DEBUG_ASSERT /**@brief Debug assertion.*/ #if CONFIG_HAVE_OWN_ASSERT +#include <stdio.h> + #define ext4_assert(_v) \ do { \ if (!(_v)) { \ |
