OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
280a34c
)
[IPV4]: Make icmp_sk_init() static.
author
Adrian Bunk
<bunk@kernel.org>
Mon, 21 Apr 2008 09:31:23 +0000
(
02:31
-0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 21 Apr 2008 09:31:23 +0000
(
02:31
-0700)
This patch makes the needlessly global icmp_sk_init() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/icmp.c
patch
|
blob
|
history
diff --git
a/net/ipv4/icmp.c
b/net/ipv4/icmp.c
index
f064031
..
fee171e
100644
(file)
--- a/
net/ipv4/icmp.c
+++ b/
net/ipv4/icmp.c
@@
-1144,7
+1144,7
@@
static void __net_exit icmp_sk_exit(struct net *net)
net->ipv4.icmp_sk = NULL;
}
-int __net_init icmp_sk_init(struct net *net)
+
static
int __net_init icmp_sk_init(struct net *net)
{
int i, err;