Skip to contentSkip to conversation

make smackfs.c:smk_cipso_doi() static

PATCH In review Adrian Bunk 2 participants 2 messages Feb 13, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make smackfs.c:smk_cipso_doi() static

smk_cipso_doi() can become static.

---

BTW: -ENOMAINTAINERSENTRY

299c2883384303ca7730df8fa4baae9194bd5d13 diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c index 15aa37f..13462ff 100644

security/smack/smackfs.c +1 -1
@@ -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;
maintainer
#1 lore raw
Quoted 1 line · --- Adrian Bunk

smk_cipso_doi() can become static.

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

Quoted 22 lines

---

BTW: -ENOMAINTAINERSENTRY

299c2883384303ca7730df8fa4baae9194bd5d13 diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c index 15aa37f..13462ff 100644

security/smack/smackfs.c +1 -2
@@ -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;
 
--
Quoted 7 lines

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Casey Schaufler
[email protected]