summaryrefslogtreecommitdiffstats
path: root/security/keys/keyring.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-06 09:11:25 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 17:33:30 +0100
commit1ae8f40767a3afc6244719a2c8fbcf546767d5b0 (patch)
treef41d957bbc60ad940132fd28ea13a8fced63a398 /security/keys/keyring.c
parent[PATCH] Keys: Remove key duplication (diff)
downloadlinux-1ae8f40767a3afc6244719a2c8fbcf546767d5b0.tar.xz
linux-1ae8f40767a3afc6244719a2c8fbcf546767d5b0.zip
[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 0acecbd4fa37..5d22c0388b32 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);
/*****************************************************************************/
/*