summaryrefslogtreecommitdiffstats
path: root/security/keys/keyring.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-06 00:11:25 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 08:33:30 -0800
commit1ae8f40767a3afc6244719a2c8fbcf546767d5b0 (patch)
treef41d957bbc60ad940132fd28ea13a8fced63a398 /security/keys/keyring.c
parent8d9067bda99c68e1a17d93e78cf3a5a3f67e0c35 (diff)
downloadop-kernel-dev-1ae8f40767a3afc6244719a2c8fbcf546767d5b0.zip
op-kernel-dev-1ae8f40767a3afc6244719a2c8fbcf546767d5b0.tar.gz
[PATCH] security/: possible cleanups
make needlessly global code static Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security/keys/keyring.c')
-rw-r--r--security/keys/keyring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/keyring.c b/security/keys/keyring.c
index 0acecbd..5d22c03 100644
--- a/security/keys/keyring.c
+++ b/security/keys/keyring.c
@@ -68,7 +68,7 @@ struct key_type key_type_keyring = {
* semaphore to serialise link/link calls to prevent two link calls in parallel
* introducing a cycle
*/
-DECLARE_RWSEM(keyring_serialise_link_sem);
+static DECLARE_RWSEM(keyring_serialise_link_sem);
/*****************************************************************************/
/*
OpenPOWER on IntegriCloud