Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30aa4faf authored by Casey Schaufler's avatar Casey Schaufler Committed by Linus Torvalds
Browse files

smack: make smk_cipso_doi() and smk_unlbl_ambient()



The functions smk_cipso_doi and smk_unlbl_ambient are not used outside
smackfs.c and should hence be static.

Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 55d00ccf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
@@ -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;