summaryrefslogtreecommitdiff
path: root/extensions/libct_proto_tcp.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2007-06-09 19:24:07 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2007-06-09 19:24:07 +0000
commit7e28837a6073600129d2fc06c23c40726ef5976a (patch)
tree4062de4521e21fa4145a0919e23dde8647c888ad /extensions/libct_proto_tcp.c
parente0cdc12b83e62b4236f4b4bff3a4fd0475ed4822 (diff)
downloadconntrack-tools-7e28837a6073600129d2fc06c23c40726ef5976a.tar.gz
conntrack-tools-7e28837a6073600129d2fc06c23c40726ef5976a.zip
remove dlopen infrastructure: simplification, it was too much for it
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);
}