LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] make smackfs.c:smk_cipso_doi() static
@ 2008-02-13 21:30 Adrian Bunk
  2008-02-13 22:20 ` Casey Schaufler
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-02-13 21:30 UTC (permalink / raw)
  To: Casey Schaufler; +Cc: linux-kernel

smk_cipso_doi() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

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;


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] make smackfs.c:smk_cipso_doi() static
  2008-02-13 21:30 [2.6 patch] make smackfs.c:smk_cipso_doi() static Adrian Bunk
@ 2008-02-13 22:20 ` Casey Schaufler
  0 siblings, 0 replies; 2+ messages in thread
From: Casey Schaufler @ 2008-02-13 22:20 UTC (permalink / raw)
  To: Adrian Bunk, Casey Schaufler; +Cc: linux-kernel


--- Adrian Bunk <bunk@kernel.org> 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@kernel.org>
> 
> ---
> 
> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 
> 


Casey Schaufler
casey@schaufler-ca.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-13 22:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-13 21:30 [2.6 patch] make smackfs.c:smk_cipso_doi() static Adrian Bunk
2008-02-13 22:20 ` Casey Schaufler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).