summaryrefslogtreecommitdiffstats
path: root/src/fib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fib.c')
-rw-r--r--src/fib.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/fib.c b/src/fib.c
index 28d2b1d9..b3488aff 100644
--- a/src/fib.c
+++ b/src/fib.c
@@ -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);
-}