diff --git a/src/ckpool.h b/src/ckpool.h index 47150404..b73059dc 100644 --- a/src/ckpool.h +++ b/src/ckpool.h @@ -65,6 +65,14 @@ struct connsock { typedef struct connsock connsock_t; +typedef struct char_entry char_entry_t; + +struct char_entry { + char_entry_t *next; + char_entry_t *prev; + char *buf; +}; + struct server_instance { /* Hash table data */ UT_hash_handle hh; diff --git a/src/stratifier.c b/src/stratifier.c index b596452e..0f01e42e 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -374,14 +374,6 @@ struct json_entry { json_t *val; }; -typedef struct char_entry char_entry_t; - -struct char_entry { - char_entry_t *next; - char_entry_t *prev; - char *buf; -}; - /* Priority levels for generator messages */ #define GEN_LAX 0 #define GEN_NORMAL 1