Explorar el Código

[src][idle] 修复一处编译警告

tangyuxin hace 6 años
padre
commit
6a170ddbe4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/idle.c

+ 1 - 1
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