change all double-empty-lines to single-empty-lines
This commit is contained in:
parent
d7b8cf81e6
commit
6bb9e546de
|
@ -45,7 +45,6 @@
|
|||
#include <rtthread.h>
|
||||
#include <rthw.h>
|
||||
|
||||
|
||||
#ifndef __on_rt_object_trytake_hook
|
||||
#define __on_rt_object_trytake_hook(parent) __ON_HOOK_ARGS(rt_object_trytake_hook, (parent))
|
||||
#endif
|
||||
|
|
|
@ -1742,12 +1742,10 @@ int __rt_ffs(int value)
|
|||
#endif /* RT_USING_TINY_FFS */
|
||||
#endif /* RT_USING_CPU_FFS */
|
||||
|
||||
|
||||
#ifndef __on_rt_assert_hook
|
||||
#define __on_rt_assert_hook(ex, func, line) __ON_HOOK_ARGS(rt_assert_hook, (ex, func, line))
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef RT_DEBUG
|
||||
/* RT_ASSERT(EX)'s hook */
|
||||
|
||||
|
|
|
@ -114,7 +114,6 @@ static struct rt_object_information _object_container[RT_Object_Info_Unknown] =
|
|||
#endif
|
||||
};
|
||||
|
||||
|
||||
#ifndef __on_rt_object_attach_hook
|
||||
#define __on_rt_object_attach_hook(obj) __ON_HOOK_ARGS(rt_object_attach_hook, (obj))
|
||||
#endif
|
||||
|
@ -131,7 +130,6 @@ static struct rt_object_information _object_container[RT_Object_Info_Unknown] =
|
|||
#define __on_rt_object_put_hook(parent) __ON_HOOK_ARGS(rt_object_put_hook, (parent))
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(RT_USING_HOOK) && defined(RT_HOOK_USING_FUNC_PTR)
|
||||
static void (*rt_object_attach_hook)(struct rt_object *object);
|
||||
static void (*rt_object_detach_hook)(struct rt_object *object);
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
* in smp version, rt_hw_context_switch_interrupt maybe switch to
|
||||
* new task directly
|
||||
* 2022-01-07 Gabriel Moving __on_rt_xxxxx_hook to scheduler.c
|
||||
*
|
||||
*/
|
||||
|
||||
#include <rtthread.h>
|
||||
|
|
Loading…
Reference in New Issue