make selinux_write_opts() static
authorAdrian Bunk <bunk@kernel.org>
Tue, 22 Jul 2008 17:21:23 +0000 (20:21 +0300)
committerJames Morris <jmorris@namei.org>
Tue, 5 Aug 2008 00:55:24 +0000 (10:55 +1000)
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>

security/selinux/hooks.c

index 3ae9bec..0ffd881 100644 (file)
@@ -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;