From 0707553bdb38fa15bd1d50200a9cd77e4f39f68e Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Thu, 16 Jul 2009 21:22:23 +0000
Subject: [PATCH] unabstracted * from jobacctinfo_t

---
 slurm/slurm.h.in            | 4 ++--
 src/common/jobacct_common.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/slurm/slurm.h.in b/slurm/slurm.h.in
index 41d9ca521f7..9adf7b7e667 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 c8d38037c50..9439cdc48c8 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();
-- 
GitLab