summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabriel Wang <[email protected]>2022-01-08 20:04:43 +0000
committerGabriel Wang <[email protected]>2022-01-08 20:04:43 +0000
commit6bb9e546de6273725c01ba7020ef33d232af8a2b (patch)
tree1d0d53b4b9037f5e4724794f3a12ed0fe486004c /src
parentd7b8cf81e6285f3cbb0817cbe79c527f10ff56b7 (diff)
change all double-empty-lines to single-empty-lines
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ipc.c1
-rw-r--r--src/kservice.c2
-rw-r--r--src/object.c2
-rw-r--r--src/scheduler.c1
4 files changed, 0 insertions, 6 deletions
diff --git a/src/ipc.c b/src/ipc.c
index ebcc2780b9..09cc74e103 100755
--- a/src/ipc.c
+++ b/src/ipc.c
@@ -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
diff --git a/src/kservice.c b/src/kservice.c
index f49823c2d8..62591c4832 100644
--- a/src/kservice.c
+++ b/src/kservice.c
@@ -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 */
diff --git a/src/object.c b/src/object.c
index 46e53a7f99..259d82fc62 100644
--- a/src/object.c
+++ b/src/object.c
@@ -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);
diff --git a/src/scheduler.c b/src/scheduler.c
index bcc74a2604..5ad510f27c 100644
--- a/src/scheduler.c
+++ b/src/scheduler.c
@@ -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>