Skip to contentSkip to conversation

net/ipv6/ndisc.c: make a function static

PATCH Applied Adrian Bunk 2 participants 2 messages Mar 15, 2005 – Mar 16, 2005

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/ipv6/ndisc.c: make a function static

This patch makes a needlessly global function static.

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;