summaryrefslogtreecommitdiff
path: root/security/keys/key.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/key.c
parent8d9067bda99c68e1a17d93e78cf3a5a3f67e0c35 (diff)
downloadkernel-common-1ae8f40767a3afc6244719a2c8fbcf546767d5b0.tar.gz
kernel-common-1ae8f40767a3afc6244719a2c8fbcf546767d5b0.tar.bz2
kernel-common-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/key.c')
-rw-r--r--security/keys/key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/key.c b/security/keys/key.c
index bb036623d0a8..99781b798312 100644
--- a/security/keys/key.c
+++ b/security/keys/key.c
@@ -36,7 +36,7 @@ static DECLARE_WORK(key_cleanup_task, key_cleanup, NULL);
DECLARE_RWSEM(key_construction_sem);
/* any key who's type gets unegistered will be re-typed to this */
-struct key_type key_type_dead = {
+static struct key_type key_type_dead = {
.name = "dead",
};