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 ****************************************************************************/