From 281f70e17dfade77a8ad90ee1fcf69f0c5932dcb Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 20 Apr 2015 14:22:14 +1000 Subject: [PATCH] Move inappropriate placement of ckpool definition from libckpool header --- src/ckpool.h | 2 ++ src/libckpool.h | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ckpool.h b/src/ckpool.h index 09744d88..2388aedd 100644 --- a/src/ckpool.h +++ b/src/ckpool.h @@ -52,6 +52,8 @@ struct ckmsgq { typedef struct ckmsgq ckmsgq_t; +typedef struct proc_instance proc_instance_t; + struct proc_instance { ckpool_t *ckp; unixsock_t us; diff --git a/src/libckpool.h b/src/libckpool.h index 28ea14c9..4fa68047 100644 --- a/src/libckpool.h +++ b/src/libckpool.h @@ -309,9 +309,6 @@ struct unixsock { typedef struct unixsock unixsock_t; -typedef struct proc_instance proc_instance_t; - - void _json_check(json_t *val, json_error_t *err, const char *file, const char *func, const int line); #define json_check(VAL, ERR) _json_check(VAL, ERR, __FILE__, __func__, __LINE__)