[2.6 patch] make selinux_write_opts() static

From: Adrian Bunk
Date: Tue Jul 22 2008 - 13:22:22 EST


This patch makes the needlessly global selinux_write_opts() static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
b75a9f11d832d4f819b69f02b615c53889faec09
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 63f131f..3179e40 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;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/