Skip to content
Snippets Groups Projects
Commit 1ff2ddfe authored by Danny Auble's avatar Danny Auble
Browse files

Combine redundant code.

parent 8259a5bf
No related branches found
No related tags found
No related merge requests found
......@@ -60,16 +60,6 @@ enum {
PRINT_CLUSTER_TRES_NAME,
};
typedef enum {
GROUP_BY_ACCOUNT,
GROUP_BY_ACCOUNT_JOB_SIZE,
GROUP_BY_ACCOUNT_JOB_SIZE_DURATION,
GROUP_BY_USER,
GROUP_BY_USER_JOB_SIZE,
GROUP_BY_USER_JOB_SIZE_DURATION,
GROUP_BY_NONE
} report_grouping_t;
static List print_fields_list = NULL; /* types are of print_field_t */
......
......@@ -57,15 +57,6 @@ enum {
PRINT_RESV_TRES_USAGE,
};
typedef enum {
GROUP_BY_ACCOUNT,
GROUP_BY_ACCOUNT_JOB_SIZE,
GROUP_BY_ACCOUNT_JOB_SIZE_DURATION,
GROUP_BY_USER,
GROUP_BY_USER_JOB_SIZE,
GROUP_BY_USER_JOB_SIZE_DURATION,
GROUP_BY_NONE
} report_grouping_t;
static List print_fields_list = NULL; /* types are of print_field_t */
......
......@@ -90,6 +90,16 @@
#define CKPT_WAIT 10
#define MAX_INPUT_FIELDS 128
typedef enum {
GROUP_BY_ACCOUNT,
GROUP_BY_ACCOUNT_JOB_SIZE,
GROUP_BY_ACCOUNT_JOB_SIZE_DURATION,
GROUP_BY_USER,
GROUP_BY_USER_JOB_SIZE,
GROUP_BY_USER_JOB_SIZE_DURATION,
GROUP_BY_NONE
} report_grouping_t;
extern slurmdb_report_time_format_t time_format;
extern char *time_format_string;
extern char *command_name;
......
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