提交 30aa4faf 编写于 作者: C Casey Schaufler 提交者: Linus Torvalds

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: NCasey Schaufler <casey@schaufler-ca.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 55d00ccf
...@@ -317,7 +317,7 @@ static const struct file_operations smk_load_ops = { ...@@ -317,7 +317,7 @@ static const struct file_operations smk_load_ops = {
/** /**
* smk_cipso_doi - initialize the CIPSO domain * smk_cipso_doi - initialize the CIPSO domain
*/ */
void smk_cipso_doi(void) static void smk_cipso_doi(void)
{ {
int rc; int rc;
struct cipso_v4_doi *doip; struct cipso_v4_doi *doip;
...@@ -350,7 +350,7 @@ void smk_cipso_doi(void) ...@@ -350,7 +350,7 @@ void smk_cipso_doi(void)
/** /**
* smk_unlbl_ambient - initialize the unlabeled domain * smk_unlbl_ambient - initialize the unlabeled domain
*/ */
void smk_unlbl_ambient(char *oldambient) static void smk_unlbl_ambient(char *oldambient)
{ {
int rc; int rc;
struct netlbl_audit audit_info; struct netlbl_audit audit_info;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册