Commit 30aa4faf62b2dd9b239ae06ca7a85f1d36d7ef25
Committed by
Linus Torvalds
1 parent
55d00ccfb3
Exists in
master
and in
20 other branches
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
security/smack/smackfs.c
... | ... | @@ -317,7 +317,7 @@ |
317 | 317 | /** |
318 | 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 | 322 | int rc; |
323 | 323 | struct cipso_v4_doi *doip; |
... | ... | @@ -350,7 +350,7 @@ |
350 | 350 | /** |
351 | 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 | 355 | int rc; |
356 | 356 | struct netlbl_audit audit_info; |