From: Adrian Bunk Date: Mon, 17 Mar 2008 20:29:23 +0000 (+0200) Subject: make selinux_parse_opts_str() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e1479d95d02b43660fe03ab2c595ec9751a6f97;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git make selinux_parse_opts_str() static This patch makes the needlessly global selinux_parse_opts_str() static. Signed-off-by: Adrian Bunk Acked-by: Eric Paris Signed-off-by: James Morris --- diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 4bf4807f2d4..41a049f50f5 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -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;