Re: [2.6 patch] make smackfs.c:smk_cipso_doi() static

From: Casey Schaufler
Date: Wed Feb 13 2008 - 17:21:09 EST



--- Adrian Bunk <bunk@xxxxxxxxxx> wrote:

> smk_cipso_doi() can become static.

This change is included in a patch I hope to submit today.

> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
>
> ---
>
> BTW: -ENOMAINTAINERSENTRY
>
> 299c2883384303ca7730df8fa4baae9194bd5d13 diff --git
> a/security/smack/smackfs.c b/security/smack/smackfs.c
> index 15aa37f..13462ff 100644
> --- a/security/smack/smackfs.c
> +++ b/security/smack/smackfs.c
> @@ -336,7 +336,7 @@ static const struct file_operations smk_load_ops = {
> /**
> * smk_cipso_doi - initialize the CIPSO domain
> */
> -void smk_cipso_doi(void)
> +static void smk_cipso_doi(void)
> {
> int rc;
> struct cipso_v4_doi *doip;
>
> --
> 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/
>
>
>


Casey Schaufler
casey@xxxxxxxxxxxxxxxx
--
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/