diff --git a/include/kernel.h b/include/kernel.h index 01acc85635c..c7e370ae301 100644 --- a/include/kernel.h +++ b/include/kernel.h @@ -76,22 +76,6 @@ struct k_mem_domain; struct k_mem_partition; struct k_futex; struct k_event; -struct k_condvar; -struct k_mbox_msg; -struct k_work; -struct k_work_q; -struct k_work_user; -struct k_work_sync; -struct k_work_delayable; -struct k_work_queue_config; - -typedef void (*k_thread_user_cb_t)(const struct k_thread *thread, - void *user_data); -typedef void (*k_timer_expiry_t)(struct k_timer *timer); -typedef void (*k_timer_stop_t)(struct k_timer *timer); -typedef uintptr_t stack_data_t; -typedef void (*k_work_handler_t)(struct k_work *work); -typedef void (*k_work_user_handler_t)(struct k_work_user *work); enum execution_context_types { K_ISR = 0, @@ -103,8 +87,6 @@ enum execution_context_types { struct k_work_poll; typedef int (*_poller_cb_t)(struct k_poll_event *event, uint32_t state); -#include - /** * @addtogroup thread_apis * @{ @@ -5910,6 +5892,7 @@ int k_thread_runtime_stats_all_get(k_thread_runtime_stats_t *stats); } #endif +#include #include #endif /* !_ASMLANGUAGE */