Skip to content
Snippets Groups Projects
Commit 2694292f authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Remove erroneous commas on last items in enum

This is technically incorrect (although usually ignored),
and will cause errors if compiling against slurm.h with -Wpedantic.
parent 1926bcf6
No related branches found
No related tags found
No related merge requests found
......@@ -534,7 +534,7 @@ enum job_state_reason {
* (burst buffer) */
WAIT_QOS_MAX_BB_MINS_PER_JOB,/* QOS MaxTRESMinsPerJob exceeded
* (burst buffer) */
WAIT_QOS_MIN_BB, /* QOS MinTRESPerJob not reached
WAIT_QOS_MIN_BB /* QOS MinTRESPerJob not reached
* (burst buffer) */
};
......@@ -598,7 +598,7 @@ enum select_jobdata_type {
SELECT_JOBDATA_CONFIRMED, /* data-> uint8_t ALPS reservation confirmed */
SELECT_JOBDATA_CLEANING, /* data-> uint16_t if the job is in
* cleaning state or not. */
SELECT_JOBDATA_NETWORK, /* data-> char * network info */
SELECT_JOBDATA_NETWORK /* data-> char * network info */
};
enum select_nodedata_type {
......@@ -614,7 +614,7 @@ enum select_nodedata_type {
* freed with xfree */
SELECT_NODEDATA_RACK_MP, /* data-> char * needs to be
* freed with xfree */
SELECT_NODEDATA_MEM_ALLOC, /* data-> uint32_t */
SELECT_NODEDATA_MEM_ALLOC /* data-> uint32_t */
};
enum select_print_mode {
......@@ -634,7 +634,7 @@ enum select_print_mode {
SELECT_PRINT_RAMDISK_IMAGE,/* Print just the RAMDISK IMAGE */
SELECT_PRINT_REBOOT, /* Print just the REBOOT */
SELECT_PRINT_RESV_ID, /* Print just Cray/BASIL reservation ID */
SELECT_PRINT_START_LOC, /* Print just the start location */
SELECT_PRINT_START_LOC /* Print just the start location */
};
enum select_node_cnt {
......@@ -703,7 +703,7 @@ enum acct_energy_type {
ENERGY_DATA_LAST_POLL,
ENERGY_DATA_SENSOR_CNT,
ENERGY_DATA_NODE_ENERGY,
ENERGY_DATA_NODE_ENERGY_UP,
ENERGY_DATA_NODE_ENERGY_UP
};
/*
......@@ -764,7 +764,7 @@ typedef enum task_dist_states {
SLURM_DIST_CORECFULL = 0x0300,
SLURM_DIST_NO_LLLP = 0x1000,
SLURM_DIST_UNKNOWN = 0x2000,
SLURM_DIST_UNKNOWN = 0x2000
} task_dist_states_t;
#define SLURM_DIST_STATE_BASE 0x00FFFF
......@@ -851,7 +851,7 @@ typedef enum accel_bind_type { /* accelerator binding from --accel_bind= */
ACCEL_BIND_VERBOSE = 0x01, /* 'v' verbose */
ACCEL_BIND_CLOSEST_GPU = 0x02, /* 'g' Use closest GPU to the CPU */
ACCEL_BIND_CLOSEST_MIC = 0x04, /* 'm' Use closest NIC to CPU */
ACCEL_BIND_CLOSEST_NIC = 0x08, /* 'n' Use closest NIC to CPU */
ACCEL_BIND_CLOSEST_NIC = 0x08 /* 'n' Use closest NIC to CPU */
} accel_bind_type_t;
/* The last entry in node_states must be STATE_END, keep in sync with
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment