4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 11:53:53 +08:00

[kernel] remove switchto_sethook

This commit is contained in:
Bernard Xiong 2021-07-03 18:48:15 +08:00 committed by GitHub
parent 05bb1a50b0
commit 3dfebe337a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,7 +186,6 @@ rt_uint16_t rt_critical_level(void);
#ifdef RT_USING_HOOK
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
#ifdef RT_USING_SMP