summaryrefslogtreecommitdiffstats
path: root/net/netlabel
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-08-07 21:50:48 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 14:54:07 -0700
commit8ce11e6a9faf1f1c849b77104adc1642c46aee95 (patch)
tree58b169b6856d5eafb8cbc1fa547ff967be9ad30c /net/netlabel
parente6242e928ef1e4ed853f909a7479e4934f4bcb70 (diff)
downloadlinux-8ce11e6a9faf1f1c849b77104adc1642c46aee95.tar.bz2
[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.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 {
/* Domain hash table */
/* XXX - updates should be so rare that having one spinlock for the entire
* hash table should be okay */
-DEFINE_SPINLOCK(netlbl_domhsh_lock);
+static DEFINE_SPINLOCK(netlbl_domhsh_lock);
static struct netlbl_domhsh_tbl *netlbl_domhsh = NULL;
/* Default domain mapping */
-DEFINE_SPINLOCK(netlbl_domhsh_def_lock);
+static DEFINE_SPINLOCK(netlbl_domhsh_def_lock);
static struct netlbl_dom_map *netlbl_domhsh_def = NULL;
/*