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>
This commit is contained in:
stephen hemminger
2010-10-21 07:50:46 +00:00
committed by David S. Miller
parent 9740d78604
commit fc130840d7
3 changed files with 41 additions and 44 deletions

View File

@@ -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,