From a412f01ea84709b9af0113acc5aa2ce3dad1d292 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 28 Apr 2000 15:12:03 +0000 Subject: Include CF_HDR section in keywords.h as well, so that protocol symbols can be used in definition of ENUM's. --- conf/cf-lex.l | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'conf/cf-lex.l') diff --git a/conf/cf-lex.l b/conf/cf-lex.l index 483bcaf3..bdf9261d 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -20,13 +20,13 @@ #include "conf/cf-parse.tab.h" #include "lib/string.h" -static struct keyword { +struct keyword { byte *name; int value; struct keyword *next; -} keyword_list[] = { +}; + #include "conf/keywords.h" - { NULL, -1 } }; #define KW_HASH_SIZE 64 static struct keyword *kw_hash[KW_HASH_SIZE]; -- cgit v1.2.3