summaryrefslogtreecommitdiff
path: root/extensions/libct_proto_icmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libct_proto_icmp.c')
-rw-r--r--extensions/libct_proto_icmp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/extensions/libct_proto_icmp.c b/extensions/libct_proto_icmp.c
index 5c7717a..765ced4 100644
--- a/extensions/libct_proto_icmp.c
+++ b/extensions/libct_proto_icmp.c
@@ -91,9 +91,7 @@ static struct ctproto_handler icmp = {
.version = VERSION,
};
-static void __attribute__ ((constructor)) init(void);
-
-static void init(void)
+void register_icmp(void)
{
register_proto(&icmp);
}