summaryrefslogtreecommitdiffstats
path: root/filter/config.Y
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-15 12:53:56 +0200
committerMartin Mares <mj@ucw.cz>2000-05-15 12:53:56 +0200
commit3b1c523d79763b22e0fe06862ff349fd94e816b1 (patch)
treeed28d1bc45fb08916ba0478acd3daac4a0c42cc0 /filter/config.Y
parent1c20608e02109ef0839e0168d100c75f0cc65fd9 (diff)
downloadbird-3b1c523d79763b22e0fe06862ff349fd94e816b1.tar
bird-3b1c523d79763b22e0fe06862ff349fd94e816b1.zip
Got rid of startup functions and filters_postconfig().
By the way, how do you expect pointers to fit in an int?
Diffstat (limited to 'filter/config.Y')
-rw-r--r--filter/config.Y7
1 files changed, 0 insertions, 7 deletions
diff --git a/filter/config.Y b/filter/config.Y
index 4c4a859..8988241 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -170,14 +170,7 @@ function_body:
CF_ADDTO(conf, function_def)
function_def:
FUNCTION SYM { DBG( "Beginning of function %s\n", $2->name ); cf_push_scope($2); } function_params function_body {
- extern struct f_inst *startup_func, *test1_func, *test2_func;
cf_define_symbol($2, SYM_FUNCTION, $5);
- if (!strcasecmp($2->name, "__startup"))
- startup_func = $5;
- if (!strcasecmp($2->name, "__test1"))
- test1_func = $5;
- if (!strcasecmp($2->name, "__test2"))
- test2_func = $5;
$2->aux = (int) $4;
$2->aux2 = $5;
DBG("Hmm, we've got one function here - %s\n", $2->name);