diff --git a/slurm/slurm.h.in b/slurm/slurm.h.in index 41d9ca521f7432185d6aefdf833a4fa0c761c40d..9adf7b7e66748d387762e1a79c86c8653d744e92 100644 --- a/slurm/slurm.h.in +++ b/slurm/slurm.h.in @@ -151,7 +151,7 @@ BEGIN_C_DECLS /* Define jobacctinfo_t below to avoid including extraneous slurm headers */ #ifndef __jobacctinfo_t_defined # define __jobacctinfo_t_defined - typedef struct jobacctinfo *jobacctinfo_t; /* opaque data type */ + typedef struct jobacctinfo jobacctinfo_t; /* opaque data type */ #endif /* Define allocation_msg_thread_t below to avoid including extraneous @@ -343,7 +343,7 @@ enum select_node_cnt { /* jobacct data types */ enum jobacct_data_type { - JOBACCT_DATA_TOTAL, /* data-> jobacctinfo_t */ + JOBACCT_DATA_TOTAL, /* data-> jobacctinfo_t * */ JOBACCT_DATA_PIPE, /* data-> file descriptor */ JOBACCT_DATA_RUSAGE, /* data-> rusage set user_cpu_sec, * user_cpu_usec, sys_cpu_sec, sys_cpu_usec */ diff --git a/src/common/jobacct_common.h b/src/common/jobacct_common.h index c8d38037c504fc253c4f46ad7148091e5ba964cf..9439cdc48c8c07173237e03b29d224ef8d564351 100644 --- a/src/common/jobacct_common.h +++ b/src/common/jobacct_common.h @@ -193,7 +193,7 @@ struct jobacctinfo { /* Define jobacctinfo_t below to avoid including extraneous slurm headers */ #ifndef __jobacctinfo_t_defined # define __jobacctinfo_t_defined - typedef struct jobacctinfo *jobacctinfo_t; /* opaque data type */ + typedef struct jobacctinfo jobacctinfo_t; /* opaque data type */ #endif extern jobacct_step_rec_t *create_jobacct_step_rec();