(no commit message)
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Fri, 15 Jan 2010 10:57:29 +0000 (10:57 +0000)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Fri, 15 Jan 2010 10:57:29 +0000 (10:57 +0000)
ipset/ipset_iphash.c
ipset/ipset_ipporthash.c
ipset/ipset_iptree.c
ipset/ipset_macipmap.c
ipset/ipset_nethash.c
ipset/ipset_portmap.c

index c8b400c..78a537b 100644 (file)
@@ -290,7 +290,7 @@ static struct settype settype_iphash = {
        .usage = &usage,
 };
 
-void _init(void)
+void __attribute__ ((constructor)) my_init(void)
 {
        settype_register(&settype_iphash);
 
index 684e6c2..dbe8e57 100644 (file)
@@ -366,7 +366,7 @@ static struct settype settype_ipporthash = {
        .usage = &usage,
 };
 
-void _init(void)
+void __attribute__ ((constructor)) my_init(void)
 {
        settype_register(&settype_ipporthash);
 
index b68601a..5c7b5c6 100644 (file)
@@ -217,7 +217,7 @@ static struct settype settype_iptree = {
        .usage = &usage,
 };
 
-void _init(void)
+void __attribute__ ((constructor)) my_init(void)
 {
        settype_register(&settype_iptree);
 
index 3385f19..236de39 100644 (file)
@@ -332,7 +332,7 @@ static struct settype settype_macipmap = {
        .usage = &usage,
 };
 
-void _init(void)
+void __attribute__ ((constructor)) my_init(void)
 {
        settype_register(&settype_macipmap);
 
index 8744368..5d46be2 100644 (file)
@@ -359,7 +359,7 @@ static struct settype settype_nethash = {
        .usage = &usage,
 };
 
-void _init(void)
+void __attribute__ ((constructor)) my_init(void)
 {
        settype_register(&settype_nethash);
 
index 1d4f807..ec08239 100644 (file)
@@ -237,7 +237,7 @@ static struct settype settype_portmap = {
        .usage = &usage,
 };
 
-void _init(void)
+void __attribute__ ((constructor)) my_init(void)
 {
        settype_register(&settype_portmap);