diff options
Diffstat (limited to 'src/rt.c')
-rw-r--r-- | src/rt.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -45,7 +45,7 @@ static struct error_record *realm_type_parse(const struct expr *sym, return symbolic_constant_parse(sym, realm_tbl, res); } -static const struct datatype realm_type = { +const struct datatype realm_type = { .type = TYPE_REALM, .name = "realm", .desc = "routing realm", @@ -134,8 +134,3 @@ void rt_expr_update_type(struct proto_ctx *ctx, struct expr *expr) break; } } - -static void __init rt_init(void) -{ - datatype_register(&realm_type); -} |