From: Casey Schaufler <casey@schaufler-ca.com>
To: torvalds@linux-foundation.org, akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org, casey@schaufler-ca.com
Subject: [PATCH] (02/25/08 linus git) smack functions smk_cipso_doi and smk_unlbl_ambient made static
Date: Mon, 25 Feb 2008 13:15:38 -0800 [thread overview]
Message-ID: <47C32FFA.2000605@schaufler-ca.com> (raw)
From: Casey Schaufler <casey@schaufler-ca.com>
The functions smk_cipso_doi and smk_unlbl_ambient are not used
outside smackfs.c and should hence be static.
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
---
security/smack/smackfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -uprN -X linux-2.6.25-g0225-base/Documentation/dontdiff linux-2.6.25-g0225-base/security/smack/smackfs.c linux-2.6.25-g0225/security/smack/smackfs.c
--- linux-2.6.25-g0225-base/security/smack/smackfs.c 2008-02-25 08:19:08.000000000 -0800
+++ linux-2.6.25-g0225/security/smack/smackfs.c 2008-02-25 12:06:21.000000000 -0800
@@ -338,7 +338,7 @@ static const struct file_operations smk_
/**
* 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;
@@ -371,7 +371,7 @@ void smk_cipso_doi(void)
/**
* smk_unlbl_ambient - initialize the unlabeled domain
*/
-void smk_unlbl_ambient(char *oldambient)
+static void smk_unlbl_ambient(char *oldambient)
{
int rc;
struct netlbl_audit audit_info;
reply other threads:[~2008-02-25 21:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47C32FFA.2000605@schaufler-ca.com \
--to=casey@schaufler-ca.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.