From 6fa4898a0e0ee0a5d165f581b3599a12726f575f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Fri, 15 Jan 2010 10:57:29 +0000 Subject: [PATCH] --- ipset/ipset_iphash.c | 2 +- ipset/ipset_ipporthash.c | 2 +- ipset/ipset_iptree.c | 2 +- ipset/ipset_macipmap.c | 2 +- ipset/ipset_nethash.c | 2 +- ipset/ipset_portmap.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ipset/ipset_iphash.c b/ipset/ipset_iphash.c index c8b400c..78a537b 100644 --- a/ipset/ipset_iphash.c +++ b/ipset/ipset_iphash.c @@ -290,7 +290,7 @@ static struct settype settype_iphash = { .usage = &usage, }; -void _init(void) +void __attribute__ ((constructor)) my_init(void) { settype_register(&settype_iphash); diff --git a/ipset/ipset_ipporthash.c b/ipset/ipset_ipporthash.c index 684e6c2..dbe8e57 100644 --- a/ipset/ipset_ipporthash.c +++ b/ipset/ipset_ipporthash.c @@ -366,7 +366,7 @@ static struct settype settype_ipporthash = { .usage = &usage, }; -void _init(void) +void __attribute__ ((constructor)) my_init(void) { settype_register(&settype_ipporthash); diff --git a/ipset/ipset_iptree.c b/ipset/ipset_iptree.c index b68601a..5c7b5c6 100644 --- a/ipset/ipset_iptree.c +++ b/ipset/ipset_iptree.c @@ -217,7 +217,7 @@ static struct settype settype_iptree = { .usage = &usage, }; -void _init(void) +void __attribute__ ((constructor)) my_init(void) { settype_register(&settype_iptree); diff --git a/ipset/ipset_macipmap.c b/ipset/ipset_macipmap.c index 3385f19..236de39 100644 --- a/ipset/ipset_macipmap.c +++ b/ipset/ipset_macipmap.c @@ -332,7 +332,7 @@ static struct settype settype_macipmap = { .usage = &usage, }; -void _init(void) +void __attribute__ ((constructor)) my_init(void) { settype_register(&settype_macipmap); diff --git a/ipset/ipset_nethash.c b/ipset/ipset_nethash.c index 8744368..5d46be2 100644 --- a/ipset/ipset_nethash.c +++ b/ipset/ipset_nethash.c @@ -359,7 +359,7 @@ static struct settype settype_nethash = { .usage = &usage, }; -void _init(void) +void __attribute__ ((constructor)) my_init(void) { settype_register(&settype_nethash); diff --git a/ipset/ipset_portmap.c b/ipset/ipset_portmap.c index 1d4f807..ec08239 100644 --- a/ipset/ipset_portmap.c +++ b/ipset/ipset_portmap.c @@ -237,7 +237,7 @@ static struct settype settype_portmap = { .usage = &usage, }; -void _init(void) +void __attribute__ ((constructor)) my_init(void) { settype_register(&settype_portmap); -- 2.43.0