format code

This commit is contained in:
Rongsong Shen 2025-12-18 17:39:09 +08:00
parent 8d78f0cbeb
commit 2b190bdb1d
4 changed files with 5 additions and 8 deletions

View file

@ -2,4 +2,3 @@
#include <stdlib.h>
#include "decision.h"

View file

@ -66,8 +66,8 @@ static xce_scheduler_t sched;
static void stop_scheduler(xce_scheduler_t* sched)
{
xce_decision_t *decision = NULL;
xce_decision_t* decision = NULL;
INFO("stop to scheduling jobs...");
sched->stop = 1;

View file

@ -186,7 +186,7 @@ void sched_fini(xce_scheduler_t* sched)
dataq_fini(sched->pend_updates[0]);
dataq_fini(sched->pend_updates[1]);
mylock_fini(&(sched->lock));
return;
@ -249,7 +249,7 @@ int sched_update(xce_scheduler_t* sched)
}
sched_pend_update_killer(it);
if (rc < 0) {
/* something wrong? */
}