浏览代码

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>
Adrian Bunk 17 年之前
父节点
当前提交
3583a71183
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      security/selinux/hooks.c

+ 2 - 1
security/selinux/hooks.c

@@ -957,7 +957,8 @@ out_err:
 	return rc;
 	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;
 	int i;
 	char *prefix;
 	char *prefix;