summaryrefslogtreecommitdiffstats
path: root/nest/config.Y
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-28 17:11:10 +0200
committerMartin Mares <mj@ucw.cz>2000-04-28 17:11:10 +0200
commit2edb31b097018be00f29cb7647432c4c2c8b99ba (patch)
tree8ce8b05508d6c044c5c1f60888e7ae0fbc80e628 /nest/config.Y
parentdecc99fbbdba3394a5c611e2914b4d74aa6742a9 (diff)
downloadbird-2edb31b097018be00f29cb7647432c4c2c8b99ba.tar
bird-2edb31b097018be00f29cb7647432c4c2c8b99ba.zip
Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines,
C declarations etc.).
Diffstat (limited to 'nest/config.Y')
-rw-r--r--nest/config.Y8
1 files changed, 5 insertions, 3 deletions
diff --git a/nest/config.Y b/nest/config.Y
index 24223db..a909028 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -8,13 +8,15 @@
CF_HDR
-static struct proto_config *this_proto;
-static struct iface_patt *this_ipatt;
-
#include "nest/rt-dev.h"
#include "nest/password.h"
#include "nest/cmds.h"
+CF_DEFINES
+
+static struct proto_config *this_proto;
+static struct iface_patt *this_ipatt;
+
CF_DECLS
CF_KEYWORDS(ROUTER, ID, PROTOCOL, PREFERENCE, DISABLED, DEBUG, ALL, OFF, DIRECT)