make selinux_parse_opts_str() static
authorAdrian Bunk <bunk@kernel.org>
Mon, 17 Mar 2008 20:29:23 +0000 (22:29 +0200)
committerJames Morris <jmorris@namei.org>
Mon, 17 Mar 2008 22:17:22 +0000 (09:17 +1100)
This patch makes the needlessly global selinux_parse_opts_str() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/hooks.c

index 4bf4807..41a049f 100644 (file)
@@ -800,7 +800,8 @@ static void selinux_sb_clone_mnt_opts(const struct super_block *oldsb,
        mutex_unlock(&newsbsec->lock);
 }
 
-int selinux_parse_opts_str(char *options, struct security_mnt_opts *opts)
+static int selinux_parse_opts_str(char *options,
+                                 struct security_mnt_opts *opts)
 {
        char *p;
        char *context = NULL, *defcontext = NULL;