diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2023-09-14 17:24:09 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2023-09-14 17:24:09 +0200 |
commit | 9ffea830b673a8b8506877a371e0c9fc52c99b94 (patch) | |
tree | 696525eb93a81c7b7245a080e1ad19a3226e298e | |
parent | a3dc26455d125310ddf3c903208b0168dbbd81d4 (diff) |
Conf: Move definition of struct keyword to conf.h
-rw-r--r-- | conf/cf-lex.l | 5 | ||||
-rw-r--r-- | conf/conf.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l index cee0e63e..dd62e31a 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 1413cb58..c301df1d 100644 --- a/conf/conf.h +++ b/conf/conf.h @@ -110,6 +110,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; |