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>
This commit is contained in:
Roel Kluin
2008-12-10 15:18:31 -08:00
committed by David S. Miller
parent 2107fb8b5b
commit 5eaa65b240
13 changed files with 23 additions and 23 deletions

View File

@ -1106,7 +1106,7 @@ static void dn_dev_set_timer(struct net_device *dev)
add_timer(&dn_db->timer);
}
struct dn_dev *dn_dev_create(struct net_device *dev, int *err)
static struct dn_dev *dn_dev_create(struct net_device *dev, int *err)
{
int i;
struct dn_dev_parms *p = dn_dev_list;

View File

@ -311,7 +311,7 @@ static int dn_insert_route(struct dn_route *rt, unsigned hash, struct dn_route *
return 0;
}
void dn_run_flush(unsigned long dummy)
static void dn_run_flush(unsigned long dummy)
{
int i;
struct dn_route *rt, *next;
@ -1422,7 +1422,7 @@ e_neighbour:
goto done;
}
int dn_route_input(struct sk_buff *skb)
static int dn_route_input(struct sk_buff *skb)
{
struct dn_route *rt;
struct dn_skb_cb *cb = DN_SKB_CB(skb);