diff --git a/conf/cf-lex.l b/conf/cf-lex.l index 88978d77..b26cd11b 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -51,11 +51,6 @@ #include "lib/string.h" #include "lib/hash.h" -struct keyword { - byte *name; - int value; -}; - #include "conf/keywords.h" /* Could be defined by Bison in cf-parse.tab.h, inteferes with SYM hash */ diff --git a/conf/conf.h b/conf/conf.h index 762ba3c1..e165f1c6 100644 --- a/conf/conf.h +++ b/conf/conf.h @@ -114,6 +114,11 @@ void cfg_copy_list(list *dest, list *src, unsigned node_size); extern int (*cf_read_hook)(byte *buf, uint max, int fd); +struct keyword { + byte *name; + int value; +}; + struct symbol { node n; /* In list of symbols in config */ struct symbol *next;