| To: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
|---|---|
| Subject: | [2.6 patch] net/ipv6/ndisc.c: make a function static |
| From: | Adrian Bunk <bunk@xxxxxxxxx> |
| Date: | Tue, 15 Mar 2005 15:47:13 +0100 |
| Cc: | netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
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;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [2.6 patch] net/ipv4/inetpeer.c: make a struct static, Adrian Bunk |
|---|---|
| Next by Date: | [2.6 patch] net/core/pktgen.c: make a function static, Adrian Bunk |
| Previous by Thread: | [2.6 patch] net/ipv4/inetpeer.c: make a struct static, Adrian Bunk |
| Next by Thread: | Re: [2.6 patch] net/ipv6/ndisc.c: make a function static, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |