Browse Source

[kernel] remove switchto_sethook

Bernard Xiong 3 years ago
parent
commit
3dfebe337a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      include/rtthread.h

+ 0 - 1
include/rtthread.h

@@ -186,7 +186,6 @@ rt_uint16_t rt_critical_level(void);
 
 
 #ifdef RT_USING_HOOK
 #ifdef RT_USING_HOOK
 void rt_scheduler_sethook(void (*hook)(rt_thread_t from, rt_thread_t to));
 void rt_scheduler_sethook(void (*hook)(rt_thread_t from, rt_thread_t to));
-void rt_scheduler_switchto_sethook(void (*hook)(struct rt_thread *tid));
 #endif
 #endif
 
 
 #ifdef RT_USING_SMP
 #ifdef RT_USING_SMP