Skip to content

Commit

Permalink
make selinux_parse_opts_str() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and James Morris committed Mar 17, 2008
1 parent bde4f8f commit 2e1479d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2e1479d

Please sign in to comment.