File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/kernel/spinlock/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ ZTEST(spinlock, test_spinlock_basic)
55
55
zassert_true (!z_spin_is_locked (& l ), "Spinlock failed to unlock" );
56
56
}
57
57
58
- void bounce_once (int id , bool trylock )
58
+ static void bounce_once (int id , bool trylock )
59
59
{
60
60
int ret ;
61
61
int i , locked ;
@@ -106,7 +106,7 @@ void bounce_once(int id, bool trylock)
106
106
k_spin_unlock (& bounce_lock , key );
107
107
}
108
108
109
- void cpu1_fn (void * p1 , void * p2 , void * p3 )
109
+ static void cpu1_fn (void * p1 , void * p2 , void * p3 )
110
110
{
111
111
ARG_UNUSED (p1 );
112
112
ARG_UNUSED (p2 );
@@ -188,7 +188,7 @@ ZTEST(spinlock, test_spinlock_mutual_exclusion)
188
188
zassert_true (!z_spin_is_locked (& lock_runtime ), "Spinlock failed to unlock" );
189
189
}
190
190
191
- void trylock_fn (void * p1 , void * p2 , void * p3 )
191
+ static void trylock_fn (void * p1 , void * p2 , void * p3 )
192
192
{
193
193
ARG_UNUSED (p1 );
194
194
ARG_UNUSED (p2 );
You can’t perform that action at this time.
0 commit comments