diff options
author | Pavel Machek <pavel@ucw.cz> | 2000-04-26 09:31:45 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2000-04-26 09:31:45 +0200 |
commit | 94d9dfa47a14609e7057f26614b4094dddc8439d (patch) | |
tree | f5b43f453f3d915a5e4b46366c3d61ee88a7478d /filter/config.Y | |
parent | 6fd766c17eedf4897e2dff712f0e06bb84dd3d8a (diff) | |
download | bird-94d9dfa47a14609e7057f26614b4094dddc8439d.tar bird-94d9dfa47a14609e7057f26614b4094dddc8439d.zip |
Startup renamed to __startup: it is internal function and mj already
uses word startup in other context.
Diffstat (limited to 'filter/config.Y')
-rw-r--r-- | filter/config.Y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/config.Y b/filter/config.Y index f33405f..2572501 100644 --- a/filter/config.Y +++ b/filter/config.Y @@ -208,7 +208,7 @@ function_def: FUNCTION SYM { DBG( "Begining of function %s\n", $2->name ); cf_push_scope($2); } function_params function_body { extern struct f_inst *startup_func; cf_define_symbol($2, SYM_FUNCTION, $5); - if (!strcasecmp($2->name, "startup")) + if (!strcasecmp($2->name, "__startup")) startup_func = $5; $2->aux = (int) $4; $2->aux2 = $5; |