summaryrefslogtreecommitdiffstats
path: root/proto
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 /proto
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 'proto')
-rw-r--r--proto/rip/config.Y2
-rw-r--r--proto/static/config.Y2
2 files changed, 4 insertions, 0 deletions
diff --git a/proto/rip/config.Y b/proto/rip/config.Y
index ebd5726..a8e65e3 100644
--- a/proto/rip/config.Y
+++ b/proto/rip/config.Y
@@ -17,6 +17,8 @@ CF_HDR
#include "proto/rip/rip.h"
#include "nest/iface.h"
+CF_DEFINES
+
#define RIP_CFG ((struct rip_proto_config *) this_proto)
#define RIP_IPATT ((struct rip_patt *) this_ipatt)
diff --git a/proto/static/config.Y b/proto/static/config.Y
index 1e2d7a8..12d7934 100644
--- a/proto/static/config.Y
+++ b/proto/static/config.Y
@@ -10,6 +10,8 @@ CF_HDR
#include "proto/static/static.h"
+CF_DEFINES
+
static struct static_route *this_srt;
CF_DECLS