Skip to content

Commit

Permalink
smack: make smk_cipso_doi() and smk_unlbl_ambient()
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Casey Schaufler authored and Linus Torvalds committed Apr 28, 2008
1 parent 55d00cc commit 30aa4fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions security/smack/smackfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,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;
Expand Down Expand Up @@ -350,7 +350,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;
Expand Down

0 comments on commit 30aa4fa

Please sign in to comment.