summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2023-11-25 23:33:43 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2023-11-25 23:33:43 +0100
commit4f0ecfcc2d048dd57fdd8ba007dd75556864e66f (patch)
tree28410fa27faa8bfc859a989af13bbd844e639f3d
parentbdc85af2b03c3e827d852f21ddccbf713fa5911c (diff)
parent9ffea830b673a8b8506877a371e0c9fc52c99b94 (diff)
Merge commit '9ffea830' into wireguard-next-tmp7-1
-rw-r--r--conf/cf-lex.l5
-rw-r--r--conf/conf.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l
index f86ff6f1..92a25c67 100644
--- a/conf/cf-lex.l
+++ b/conf/cf-lex.l
@@ -52,11 +52,6 @@
#include "lib/hash.h"
#include "lib/base64.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;