summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorngkaho1234 <ngkaho1234@gmail.com>2016-02-03 10:29:28 +0000
committerngkaho1234 <ngkaho1234@gmail.com>2016-02-03 10:34:03 +0000
commit1a75ade57c50a58d8d6797f41cc0d9bf8edb4c47 (patch)
treecfe16472cae54a82b51b98dd22eb45ab1981f374 /include
parent7a2fbb4fdb0fbbe196d6d936dee74e65c25909ab (diff)
Remove unnecessary stdio.h .
Diffstat (limited to 'include')
-rw-r--r--include/ext4_debug.h5
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)) { \