aboutsummaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2008-12-10 18:18:31 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-10 18:18:31 -0500
commit5eaa65b240c5eb7bf2235eb9dd177c83e6e3832c (patch)
tree1a6b217cfc5b241b298a8765f68fcb5f711f9bc3 /net/decnet
parent2107fb8b5bf018be691afdd4c6ffaecf0c3307be (diff)
net: Make static
Sparse asked whether these could be static. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet')
-rw-r--r--net/decnet/dn_dev.c2
-rw-r--r--net/decnet/dn_route.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c
index 424d86ac12fe..daf2b98b15fe 100644
--- a/net/decnet/dn_dev.c
+++ b/net/decnet/dn_dev.c
@@ -1106,7 +1106,7 @@ static void dn_dev_set_timer(struct net_device *dev)
1106 add_timer(&dn_db->timer); 1106 add_timer(&dn_db->timer);
1107} 1107}
1108 1108
1109struct dn_dev *dn_dev_create(struct net_device *dev, int *err) 1109static struct dn_dev *dn_dev_create(struct net_device *dev, int *err)
1110{ 1110{
1111 int i; 1111 int i;
1112 struct dn_dev_parms *p = dn_dev_list; 1112 struct dn_dev_parms *p = dn_dev_list;
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c
index b33b254c52cb..c754670b7fca 100644
--- a/net/decnet/dn_route.c
+++ b/net/decnet/dn_route.c
@@ -311,7 +311,7 @@ static int dn_insert_route(struct dn_route *rt, unsigned hash, struct dn_route *
311 return 0; 311 return 0;
312} 312}
313 313
314void dn_run_flush(unsigned long dummy) 314static void dn_run_flush(unsigned long dummy)
315{ 315{
316 int i; 316 int i;
317 struct dn_route *rt, *next; 317 struct dn_route *rt, *next;
@@ -1422,7 +1422,7 @@ e_neighbour:
1422 goto done; 1422 goto done;
1423} 1423}
1424 1424
1425int dn_route_input(struct sk_buff *skb) 1425static int dn_route_input(struct sk_buff *skb)
1426{ 1426{
1427 struct dn_route *rt; 1427 struct dn_route *rt;
1428 struct dn_skb_cb *cb = DN_SKB_CB(skb); 1428 struct dn_skb_cb *cb = DN_SKB_CB(skb);