* [2.6 patch] net/ipv6/ndisc.c: make a function static
@ 2005-03-15 14:47 Adrian Bunk
2005-03-16 22:52 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-03-15 14:47 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev, linux-kernel
This patch makes a needlessly global function static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] net/ipv6/ndisc.c: make a function static
2005-03-15 14:47 [2.6 patch] net/ipv6/ndisc.c: make a function static Adrian Bunk
@ 2005-03-16 22:52 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2005-03-16 22:52 UTC (permalink / raw)
To: Adrian Bunk; +Cc: netdev, linux-kernel
On Tue, 15 Mar 2005 15:47:13 +0100
Adrian Bunk <bunk@stusta.de> wrote:
> This patch makes a needlessly global function static.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Applied, thanks Adrian.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-16 22:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-15 14:47 [2.6 patch] net/ipv6/ndisc.c: make a function static Adrian Bunk
2005-03-16 22:52 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).