diff --git a/src/sreport/cluster_reports.c b/src/sreport/cluster_reports.c index ec22807225f367eb714d80b301fc57420287f183..aab516777908c80aa303cbf432993b87f4768382 100644 --- a/src/sreport/cluster_reports.c +++ b/src/sreport/cluster_reports.c @@ -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 */ diff --git a/src/sreport/resv_reports.c b/src/sreport/resv_reports.c index 9a19fbb429a266e5d20c26ce00821e8eff716482..e6047ae9a095272317ab72622e2bb5c243c63b61 100644 --- a/src/sreport/resv_reports.c +++ b/src/sreport/resv_reports.c @@ -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 */ diff --git a/src/sreport/sreport.h b/src/sreport/sreport.h index a9519cd571930ec6c56f9a7d5faba9403b732cc1..8fe41cea4e4f65f624fef131e26362b6294da1f4 100644 --- a/src/sreport/sreport.h +++ b/src/sreport/sreport.h @@ -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;