From e30a0602a08613c1265eadd2f1230301b1b17404 Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Tue, 11 Apr 2023 16:05:31 +0300 Subject: [PATCH] testing/ostest: add missing section comments Signed-off-by: Petro Karashchenko --- testing/ostest/prioinherit.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/testing/ostest/prioinherit.c b/testing/ostest/prioinherit.c index 6a96393de..1490aff2f 100644 --- a/testing/ostest/prioinherit.c +++ b/testing/ostest/prioinherit.c @@ -66,11 +66,7 @@ #define PRIORIY_SPREED 10 /**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions + * Private Types ****************************************************************************/ enum thstate_e @@ -81,6 +77,10 @@ enum thstate_e DONE }; +/**************************************************************************** + * Private Data + ****************************************************************************/ + static sem_t g_sem; static volatile enum thstate_e g_middlestate; static volatile enum thstate_e g_highstate[NHIGHPRI_THREADS]; @@ -90,6 +90,10 @@ static int g_highpri; static int g_medpri; static int g_lowpri; +/**************************************************************************** + * Private Functions + ****************************************************************************/ + /**************************************************************************** * Name: sleep_and_display ****************************************************************************/