From 03ddd894593ece44c40962e82a8711c5110a88cb Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 29 Sep 2022 14:34:43 +0200 Subject: stackchk: Avoid internal header file --- cpukit/include/rtems/stackchk.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'cpukit/include') diff --git a/cpukit/include/rtems/stackchk.h b/cpukit/include/rtems/stackchk.h index 22d48c9d2b..7968211a51 100644 --- a/cpukit/include/rtems/stackchk.h +++ b/cpukit/include/rtems/stackchk.h @@ -40,9 +40,7 @@ #ifndef _RTEMS_STACKCHK_H #define _RTEMS_STACKCHK_H -#include /* bool */ - -#include /* Thread_Control */ +#include #include /** @@ -110,11 +108,11 @@ void rtems_stack_checker_report_usage_with_plugin( * will automatically intialize itself. */ bool rtems_stack_checker_create_extension( - Thread_Control *running, - Thread_Control *the_thread + rtems_tcb *running, + rtems_tcb *the_thread ); -void rtems_stack_checker_begin_extension( Thread_Control *executing ); +void rtems_stack_checker_begin_extension( rtems_tcb *executing ); /** * @brief Stack Checker Task Context Switch Extension @@ -128,8 +126,8 @@ void rtems_stack_checker_begin_extension( Thread_Control *executing ); * @note This is called from the internal method _Thread_Dispatch. */ void rtems_stack_checker_switch_extension( - Thread_Control *running, - Thread_Control *heir + rtems_tcb *running, + rtems_tcb *heir ); /** -- cgit v1.2.3