summaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-22 19:21:23 +0200
committerJames Morris <jmorris@namei.org>2008-08-05 02:55:24 +0200
commit3583a71183a02c51ca71cd180e9189cfb0411cc1 (patch)
tree3e613e3fc087131a2e4d2f3c5bdf36ecca02e0bd /security/selinux
parentMerge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/... (diff)
downloadlinux-3583a71183a02c51ca71cd180e9189cfb0411cc1.tar.xz
linux-3583a71183a02c51ca71cd180e9189cfb0411cc1.zip
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/selinux')
-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;