aboutsummaryrefslogtreecommitdiffstats
path: root/net/netlabel/netlabel_domainhash.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-08-08 00:50:48 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 17:54:07 -0400
commit8ce11e6a9faf1f1c849b77104adc1642c46aee95 (patch)
tree58b169b6856d5eafb8cbc1fa547ff967be9ad30c /net/netlabel/netlabel_domainhash.c
parente6242e928ef1e4ed853f909a7479e4934f4bcb70 (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/netlabel_domainhash.c')
-rw-r--r--net/netlabel/netlabel_domainhash.c4
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 */
53DEFINE_SPINLOCK(netlbl_domhsh_lock); 53static DEFINE_SPINLOCK(netlbl_domhsh_lock);
54static struct netlbl_domhsh_tbl *netlbl_domhsh = NULL; 54static struct netlbl_domhsh_tbl *netlbl_domhsh = NULL;
55 55
56/* Default domain mapping */ 56/* Default domain mapping */
57DEFINE_SPINLOCK(netlbl_domhsh_def_lock); 57static DEFINE_SPINLOCK(netlbl_domhsh_def_lock);
58static struct netlbl_dom_map *netlbl_domhsh_def = NULL; 58static struct netlbl_dom_map *netlbl_domhsh_def = NULL;
59 59
60/* 60/*