diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2008-04-28 05:13:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:27 -0400 |
commit | 30aa4faf62b2dd9b239ae06ca7a85f1d36d7ef25 (patch) | |
tree | 37eb2c4fa1195f668d1d3a16653bdc93da5f5e6b /security/smack/smackfs.c | |
parent | 55d00ccfb336b4f85a476a24e18c17b2eaff919e (diff) |
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: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/smack/smackfs.c')
-rw-r--r-- | security/smack/smackfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c index 6ba283783b70..a5da5a8cfe9b 100644 --- a/security/smack/smackfs.c +++ b/security/smack/smackfs.c | |||
@@ -317,7 +317,7 @@ static const struct file_operations smk_load_ops = { | |||
317 | /** | 317 | /** |
318 | * smk_cipso_doi - initialize the CIPSO domain | 318 | * smk_cipso_doi - initialize the CIPSO domain |
319 | */ | 319 | */ |
320 | void smk_cipso_doi(void) | 320 | static void smk_cipso_doi(void) |
321 | { | 321 | { |
322 | int rc; | 322 | int rc; |
323 | struct cipso_v4_doi *doip; | 323 | struct cipso_v4_doi *doip; |
@@ -350,7 +350,7 @@ void smk_cipso_doi(void) | |||
350 | /** | 350 | /** |
351 | * smk_unlbl_ambient - initialize the unlabeled domain | 351 | * smk_unlbl_ambient - initialize the unlabeled domain |
352 | */ | 352 | */ |
353 | void smk_unlbl_ambient(char *oldambient) | 353 | static void smk_unlbl_ambient(char *oldambient) |
354 | { | 354 | { |
355 | int rc; | 355 | int rc; |
356 | struct netlbl_audit audit_info; | 356 | struct netlbl_audit audit_info; |