[2.6 patch] net/ipv6/ndisc.c: make a function static

From: Adrian Bunk
Date: Tue Mar 15 2005 - 09:51:03 EST


This patch makes a needlessly global function static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.11-mm3-full/net/ipv6/ndisc.c.old 2005-03-15 13:33:29.000000000 +0100
+++ linux-2.6.11-mm3-full/net/ipv6/ndisc.c 2005-03-15 13:34:03.000000000 +0100
@@ -1594,10 +1594,11 @@
return ret;
}

-int ndisc_ifinfo_sysctl_strategy(ctl_table *ctl, int __user *name, int nlen,
- void __user *oldval, size_t __user *oldlenp,
- void __user *newval, size_t newlen,
- void **context)
+static int ndisc_ifinfo_sysctl_strategy(ctl_table *ctl, int __user *name,
+ int nlen, void __user *oldval,
+ size_t __user *oldlenp,
+ void __user *newval, size_t newlen,
+ void **context)
{
struct net_device *dev = ctl->extra1;
struct inet6_dev *idev;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/