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

@ -8,9 +8,9 @@
#include <sys/resource.h>
#include <time.h>
#include "netio.h"
#include "xlist.h"
#include "zarray.h"
#include "netio.h"
#define XCE_VAL_STRING (0)
#define XCE_VAL_NUMERIC (1)
@ -277,7 +277,6 @@ typedef struct {
zarray_t usages;
} worker_t;
typedef struct {
char* host;
int nallocs;
@ -446,7 +445,6 @@ typedef struct {
xce_job_t job;
} job_t;
typedef struct {
int count;
xce_job_t** data;

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? */
}