Browse Source

Move inappropriate placement of ckpool definition from libckpool header

master
Con Kolivas 10 years ago
parent
commit
281f70e17d
  1. 2
      src/ckpool.h
  2. 3
      src/libckpool.h

2
src/ckpool.h

@ -52,6 +52,8 @@ struct ckmsgq {
typedef struct ckmsgq ckmsgq_t; typedef struct ckmsgq ckmsgq_t;
typedef struct proc_instance proc_instance_t;
struct proc_instance { struct proc_instance {
ckpool_t *ckp; ckpool_t *ckp;
unixsock_t us; unixsock_t us;

3
src/libckpool.h

@ -309,9 +309,6 @@ struct unixsock {
typedef struct unixsock unixsock_t; 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); 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__) #define json_check(VAL, ERR) _json_check(VAL, ERR, __FILE__, __func__, __LINE__)

Loading…
Cancel
Save