diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-08-08 00:50:48 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:54:07 -0400 |
commit | 8ce11e6a9faf1f1c849b77104adc1642c46aee95 (patch) | |
tree | 58b169b6856d5eafb8cbc1fa547ff967be9ad30c /net/netlabel | |
parent | e6242e928ef1e4ed853f909a7479e4934f4bcb70 (diff) |
[NET]: Make code static.
This patch makes needlessly global code static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlabel')
-rw-r--r-- | net/netlabel/netlabel_domainhash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netlabel/netlabel_domainhash.c b/net/netlabel/netlabel_domainhash.c index 5bb3fad4a115..0489a1378101 100644 --- a/net/netlabel/netlabel_domainhash.c +++ b/net/netlabel/netlabel_domainhash.c | |||
@@ -50,11 +50,11 @@ struct netlbl_domhsh_tbl { | |||
50 | /* Domain hash table */ | 50 | /* Domain hash table */ |
51 | /* XXX - updates should be so rare that having one spinlock for the entire | 51 | /* XXX - updates should be so rare that having one spinlock for the entire |
52 | * hash table should be okay */ | 52 | * hash table should be okay */ |
53 | DEFINE_SPINLOCK(netlbl_domhsh_lock); | 53 | static DEFINE_SPINLOCK(netlbl_domhsh_lock); |
54 | static struct netlbl_domhsh_tbl *netlbl_domhsh = NULL; | 54 | static struct netlbl_domhsh_tbl *netlbl_domhsh = NULL; |
55 | 55 | ||
56 | /* Default domain mapping */ | 56 | /* Default domain mapping */ |
57 | DEFINE_SPINLOCK(netlbl_domhsh_def_lock); | 57 | static DEFINE_SPINLOCK(netlbl_domhsh_def_lock); |
58 | static struct netlbl_dom_map *netlbl_domhsh_def = NULL; | 58 | static struct netlbl_dom_map *netlbl_domhsh_def = NULL; |
59 | 59 | ||
60 | /* | 60 | /* |