diff options
Diffstat (limited to 'src/exthdr.c')
-rw-r--r-- | src/exthdr.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/exthdr.c b/src/exthdr.c index f31deea5..a678115b 100644 --- a/src/exthdr.c +++ b/src/exthdr.c @@ -322,7 +322,7 @@ static const struct symbol_table mh_type_tbl = { }, }; -static const struct datatype mh_type_type = { +const struct datatype mh_type_type = { .type = TYPE_MH_TYPE, .name = "mh_type", .desc = "Mobility Header Type", @@ -343,8 +343,3 @@ const struct exthdr_desc exthdr_mh = { [MHHDR_CHECKSUM] = MH_FIELD("checksum", ip6mh_cksum, &integer_type), }, }; - -static void __init exthdr_init(void) -{ - datatype_register(&mh_type_type); -} |