summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/idle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idle.c b/src/idle.c
index 77b0424892..1108bc3367 100644
--- a/src/idle.c
+++ b/src/idle.c
@@ -55,7 +55,7 @@ static rt_uint8_t rt_thread_stack[_CPUS_NR][IDLE_THREAD_STACK_SIZE];
#define RT_IDEL_HOOK_LIST_SIZE 4
#endif
-static void (*idle_hook_list[RT_IDEL_HOOK_LIST_SIZE])();
+static void (*idle_hook_list[RT_IDEL_HOOK_LIST_SIZE])(void);
/**
* @ingroup Hook