summaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-08 01:02:17 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-08 20:13:48 -0800
commit97a41e26124330e41aa10ef88cd1711bc3d17460 (patch)
tree1546db361efaf926c7a970e3ec6044ea8d4b6f4c /kernel/audit.c
parentb7b4d7a4666454b40b45a853bd1d296af37a85f0 (diff)
downloadop-kernel-dev-97a41e26124330e41aa10ef88cd1711bc3d17460.zip
op-kernel-dev-97a41e26124330e41aa10ef88cd1711bc3d17460.tar.gz
[PATCH] kernel/: small cleanups
This patch contains the following cleanups: - make needlessly global functions static - every file should include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: "Paul E. McKenney" <paulmck@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r--kernel/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 32fa03a..d13ab7d 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -267,7 +267,7 @@ static int audit_set_failure(int state, uid_t loginuid)
return old;
}
-int kauditd_thread(void *dummy)
+static int kauditd_thread(void *dummy)
{
struct sk_buff *skb;
OpenPOWER on IntegriCloud