summaryrefslogtreecommitdiff
path: root/include/rtdebug.h
diff options
context:
space:
mode:
authorprife <[email protected]>2014-01-11 16:37:13 +0800
committerprife <[email protected]>2014-01-11 16:50:53 +0800
commit86cdc22043d4f765aa2ad289fac09aca518fe525 (patch)
tree3f6458b42abc237a39d40c6b98b238192f504ddc /include/rtdebug.h
parentc07a78ae005b9e41801f1d7f8e90a37d4d7f4449 (diff)
kernel: rearrange the header file include order
There are some CONFIG OPTIONS in rtdebug.h, which may influence the rtdef.h, so rtdebug.h should be head of the rtdef.h
Diffstat (limited to 'include/rtdebug.h')
-rw-r--r--include/rtdebug.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/rtdebug.h b/include/rtdebug.h
index 6ef04f6bf9..2d93e88b94 100644
--- a/include/rtdebug.h
+++ b/include/rtdebug.h
@@ -21,8 +21,6 @@
#ifndef __RTDEBUG_H__
#define __RTDEBUG_H__
-#include <rtconfig.h>
-
/* Using this macro to control all kernel debug features. */
#ifdef RT_DEBUG
@@ -64,7 +62,7 @@
#endif
#ifndef RT_DEBUG_INIT
-#define RT_DEBUG_INIT 0
+#define RT_DEBUG_INIT 0
#endif
/* Turn on this to enable context check */