diff options
Diffstat (limited to 'src/fib.c')
-rw-r--r-- | src/fib.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -42,7 +42,7 @@ static const struct symbol_table addrtype_tbl = { } }; -static const struct datatype fib_addr_type = { +const struct datatype fib_addr_type = { .type = TYPE_FIB_ADDR, .name = "fib_addrtype", .desc = "fib address type", @@ -141,8 +141,3 @@ struct expr *fib_expr_alloc(const struct location *loc, return expr; } - -static void __init fib_init(void) -{ - datatype_register(&fib_addr_type); -} |