summaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_ip.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-21 07:50:46 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-24 14:55:47 -0700
commitfc130840d75d42c5a360fd1d8b72489eec09cad3 (patch)
tree636e9c4b4a7ab21a283587e16c092e3436082f08 /net/l2tp/l2tp_ip.c
parent9740d7860429a561f4745da8c179d84290f3c9a3 (diff)
downloadblackbird-op-linux-fc130840d75d42c5a360fd1d8b72489eec09cad3.tar.gz
blackbird-op-linux-fc130840d75d42c5a360fd1d8b72489eec09cad3.zip
l2tp: make local function static
Also moved the refcound inlines from l2tp_core.h to l2tp_core.c since only used in that one file. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: James Chapman <jchapman@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_ip.c')
-rw-r--r--net/l2tp/l2tp_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_ip.c b/net/l2tp/l2tp_ip.c
index 1c770c0644d1..0bf6a59545ab 100644
--- a/net/l2tp/l2tp_ip.c
+++ b/net/l2tp/l2tp_ip.c
@@ -576,7 +576,7 @@ out:
return copied;
}
-struct proto l2tp_ip_prot = {
+static struct proto l2tp_ip_prot = {
.name = "L2TP/IP",
.owner = THIS_MODULE,
.init = l2tp_ip_open,
OpenPOWER on IntegriCloud