From 2694292fdfe8e7749f8b8c8fc1663ceadb2a8b67 Mon Sep 17 00:00:00 2001
From: Tim Wickberg <tim@schedmd.com>
Date: Sat, 6 Feb 2016 13:52:28 -0500
Subject: [PATCH] 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.
---
 slurm/slurm.h.in | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/slurm/slurm.h.in b/slurm/slurm.h.in
index 3e643ed2161..c888bfa8f44 100644
--- a/slurm/slurm.h.in
+++ b/slurm/slurm.h.in
@@ -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
-- 
GitLab