summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-22 20:21:23 +0300
committerJames Morris <jmorris@namei.org>2008-08-05 10:55:24 +1000
commit3583a71183a02c51ca71cd180e9189cfb0411cc1 (patch)
tree3e613e3fc087131a2e4d2f3c5bdf36ecca02e0bd /security
parent2b12a4c524812fb3f6ee590a02e65b95c8c32229 (diff)
make selinux_write_opts() static
This patch makes the needlessly global selinux_write_opts() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security')
-rw-r--r--security/selinux/hooks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 3ae9bec5a508..0ffd8814af3e 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -957,7 +957,8 @@ out_err:
return rc;
}
-void selinux_write_opts(struct seq_file *m, struct security_mnt_opts *opts)
+static void selinux_write_opts(struct seq_file *m,
+ struct security_mnt_opts *opts)
{
int i;
char *prefix;