mirror of
https://github.com/apache/nuttx.git
synced 2026-06-03 22:20:31 +08:00
task_onexit.c:Fix style errors.
This commit is contained in:
@@ -105,10 +105,10 @@ int on_exit(CODE void (*func)(int, FAR void *), FAR void *arg)
|
|||||||
{
|
{
|
||||||
sched_lock();
|
sched_lock();
|
||||||
|
|
||||||
/* Search for the first available slot. on_exit() functions are registered
|
/* Search for the first available slot. on_exit() functions are
|
||||||
* from lower to higher array indices; they must be called in the reverse
|
* registered from lower to higher array indices; they must be called
|
||||||
* order of registration when task exists, i.e., from higher to lower
|
* in the reverse order of registration when task exists, i.e.,
|
||||||
* indices.
|
* from higher to lower indices.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
for (index = 0; index < CONFIG_SCHED_ONEXIT_MAX; index++)
|
for (index = 0; index < CONFIG_SCHED_ONEXIT_MAX; index++)
|
||||||
|
|||||||
Reference in New Issue
Block a user