summaryrefslogtreecommitdiffstats
path: root/extensions/libct_proto_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libct_proto_tcp.c')
-rw-r--r--extensions/libct_proto_tcp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/extensions/libct_proto_tcp.c b/extensions/libct_proto_tcp.c
index 1f0cde6..5a40cef 100644
--- a/extensions/libct_proto_tcp.c
+++ b/extensions/libct_proto_tcp.c
@@ -215,9 +215,7 @@ static struct ctproto_handler tcp = {
.version = VERSION,
};
-static void __attribute__ ((constructor)) init(void);
-
-static void init(void)
+void register_tcp(void)
{
register_proto(&tcp);
}