net/ipv6/ndisc.c: make a function static
Subsystems (3)
PATCH 1/1 net/ipv6/ndisc.c: make a function static
This patch makes a needlessly global function static.
Signed-off-by Adrian Bunk <[email protected]>
net/ipv6/ndisc.c renamed from net/ipv6/ndisc.c.old +5 -4
@@ -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;
Quoted 3 lines · On Tue, 15 Mar 2005 15:47:13 +0100 Adrian Bunk <[email protected]> wrote:
This patch makes a needlessly global function static.
Signed-off-by Adrian Bunk <[email protected]>
Applied, thanks Adrian.