sched/: Fix some spacing issues

This commit is contained in:
Gregory Nutt
2015-10-07 19:59:14 -06:00
parent 59e5e2f5cc
commit 79d554939e
123 changed files with 381 additions and 374 deletions
+5 -4
View File
@@ -113,18 +113,19 @@ void weak_function timer_initialize(void)
/* Place all of the pre-allocated timers into the free timer list */
sq_init((sq_queue_t*)&g_freetimers);
sq_init((FAR sq_queue_t *)&g_freetimers);
for (i = 0; i < CONFIG_PREALLOC_TIMERS; i++)
{
g_prealloctimers[i].pt_flags = PT_FLAGS_PREALLOCATED;
sq_addlast((FAR sq_entry_t*)&g_prealloctimers[i], (FAR sq_queue_t*)&g_freetimers);
sq_addlast((FAR sq_entry_t *)&g_prealloctimers[i],
(FAR sq_queue_t *)&g_freetimers);
}
#endif
/* Initialize the list of allocated timers */
sq_init((sq_queue_t*)&g_alloctimers);
sq_init((FAR sq_queue_t *)&g_alloctimers);
}
/********************************************************************************
@@ -155,7 +156,7 @@ void weak_function timer_deleteall(pid_t pid)
irqstate_t flags;
flags = irqsave();
for (timer = (FAR struct posix_timer_s*)g_alloctimers.head; timer; timer = next)
for (timer = (FAR struct posix_timer_s *)g_alloctimers.head; timer; timer = next)
{
next = timer->flink;
if (timer->pt_owner == pid)