|
@@ -295,7 +295,7 @@ static struct ctl_table xfrm4_policy_table[] = {
|
|
|
{ }
|
|
|
};
|
|
|
|
|
|
-static int __net_init xfrm4_net_sysctl_init(struct net *net)
|
|
|
+static __net_init int xfrm4_net_sysctl_init(struct net *net)
|
|
|
{
|
|
|
struct ctl_table *table;
|
|
|
struct ctl_table_header *hdr;
|
|
@@ -323,7 +323,7 @@ err_alloc:
|
|
|
return -ENOMEM;
|
|
|
}
|
|
|
|
|
|
-static void __net_exit xfrm4_net_sysctl_exit(struct net *net)
|
|
|
+static __net_exit void xfrm4_net_sysctl_exit(struct net *net)
|
|
|
{
|
|
|
struct ctl_table *table;
|
|
|
|
|
@@ -336,12 +336,12 @@ static void __net_exit xfrm4_net_sysctl_exit(struct net *net)
|
|
|
kfree(table);
|
|
|
}
|
|
|
#else /* CONFIG_SYSCTL */
|
|
|
-static int inline xfrm4_net_sysctl_init(struct net *net)
|
|
|
+static inline int xfrm4_net_sysctl_init(struct net *net)
|
|
|
{
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static void inline xfrm4_net_sysctl_exit(struct net *net)
|
|
|
+static inline void xfrm4_net_sysctl_exit(struct net *net)
|
|
|
{
|
|
|
}
|
|
|
#endif
|