diff options
-rw-r--r-- | src/common.h | 2 | ||||
-rw-r--r-- | src/lib-config/iconfig.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h index 9c5b066e..6db1c1bd 100644 --- a/src/common.h +++ b/src/common.h @@ -105,8 +105,6 @@ const char *get_irssi_config(void); #define i_isxdigit(x) isxdigit((int) (unsigned char) (x)) typedef struct _IPADDR IPADDR; -typedef struct _CONFIG_REC CONFIG_REC; -typedef struct _CONFIG_NODE CONFIG_NODE; typedef struct _LINEBUF_REC LINEBUF_REC; typedef struct _NET_SENDBUF_REC NET_SENDBUF_REC; diff --git a/src/lib-config/iconfig.h b/src/lib-config/iconfig.h index 5802519a..f3f5db5c 100644 --- a/src/lib-config/iconfig.h +++ b/src/lib-config/iconfig.h @@ -14,6 +14,9 @@ enum { #define is_node_list(a) \ ((a)->type == NODE_TYPE_BLOCK || (a)->type == NODE_TYPE_LIST) +typedef struct _CONFIG_NODE CONFIG_NODE; +typedef struct _CONFIG_REC CONFIG_REC; + struct _CONFIG_NODE { int type; char *key; |