summaryrefslogtreecommitdiff
path: root/extensions/libct_proto_udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libct_proto_udp.c')
-rw-r--r--extensions/libct_proto_udp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/extensions/libct_proto_udp.c b/extensions/libct_proto_udp.c
index ff9c3d2..cb131d6 100644
--- a/extensions/libct_proto_udp.c
+++ b/extensions/libct_proto_udp.c
@@ -176,9 +176,7 @@ static struct ctproto_handler udp = {
.version = VERSION,
};
-static void __attribute__ ((constructor)) init(void);
-
-static void init(void)
+void register_udp(void)
{
register_proto(&udp);
}