mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
[workqueue] 将rt_work_sys_workqueue_init函数私有化
This commit is contained in:
@@ -69,7 +69,7 @@ rt_err_t rt_workqueue_critical_work(struct rt_workqueue *queue, struct rt_work *
|
||||
#ifdef RT_USING_SYSTEM_WORKQUEUE
|
||||
rt_err_t rt_work_submit(struct rt_work *work, rt_tick_t time);
|
||||
rt_err_t rt_work_cancel(struct rt_work *work);
|
||||
#endif
|
||||
#endif /* RT_USING_SYSTEM_WORKQUEUE */
|
||||
|
||||
rt_inline void rt_work_init(struct rt_work *work, void (*work_func)(struct rt_work *work, void *work_data),
|
||||
void *work_data)
|
||||
@@ -85,7 +85,6 @@ rt_inline void rt_work_init(struct rt_work *work, void (*work_func)(struct rt_wo
|
||||
void rt_delayed_work_init(struct rt_delayed_work *work, void (*work_func)(struct rt_work *work,
|
||||
void *work_data), void *work_data);
|
||||
|
||||
int rt_work_sys_workqueue_init(void);
|
||||
#endif
|
||||
#endif /* RT_USING_HEAP */
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user