From 9f07cc11e022b907b376f735a45718166fd0e583 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 5 Feb 2015 12:08:08 +1100 Subject: [PATCH] Export the char_entry_t type --- src/ckpool.h | 8 ++++++++ src/stratifier.c | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) 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