sched/irq_section.c: irq_waitlock is a private function; remove its

prototype from irq.h and define it as static.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche
2021-09-14 18:31:07 +02:00
committed by Masayuki Ishikawa
parent 3d5e6b07b4
commit 20d34cce98
2 changed files with 1 additions and 48 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ volatile uint8_t g_cpu_nestcount[CONFIG_SMP_NCPUS];
****************************************************************************/
#ifdef CONFIG_SMP
bool irq_waitlock(int cpu)
static bool irq_waitlock(int cpu)
{
#ifdef CONFIG_SCHED_INSTRUMENTATION_SPINLOCKS
FAR struct tcb_s *tcb = current_task(cpu);