use library constructor instead of obsolete _init
[iptables.git] / ipset / ipset_ipmap.c
index df8efbf..17f35c0 100644 (file)
@@ -353,7 +353,7 @@ static struct settype settype_ipmap = {
        .usage = &usage,
 };
 
-void _init(void)
+void __attribute__ ((constructor)) my_init(void)
 {
        settype_register(&settype_ipmap);