summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaokun Zhang <zhangshaokun@hisilicon.com>2021-05-29 16:40:48 +0800
committerJohn Johansen <john.johansen@canonical.com>2021-11-03 00:46:28 -0700
commit7e50e9ffdee6fa8b375baddbac85fcb8ffee156a (patch)
treea8334afc8b5eb26edbc27e60d3ad41b80c04b981
parentc75ea024094e7307219a4f9c706dad5ea461509a (diff)
apparmor: Remove the repeated declaration
Function 'aa_labelset_destroy' and 'aa_labelset_init' are declared twice, so remove the repeated declaration and unnecessary blank line. Cc: John Johansen <john.johansen@canonical.com> Cc: James Morris <jmorris@namei.org> Cc: "Serge E. Hallyn" <serge@hallyn.com> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
-rw-r--r--security/apparmor/include/label.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/security/apparmor/include/label.h b/security/apparmor/include/label.h
index f5b5485e20c9..7ead1474769e 100644
--- a/security/apparmor/include/label.h
+++ b/security/apparmor/include/label.h
@@ -77,10 +77,6 @@ struct aa_labelset {
#define __labelset_for_each(LS, N) \
for ((N) = rb_first(&(LS)->root); (N); (N) = rb_next(N))
-void aa_labelset_destroy(struct aa_labelset *ls);
-void aa_labelset_init(struct aa_labelset *ls);
-
-
enum label_flags {
FLAG_HAT = 1, /* profile is a hat */
FLAG_UNCONFINED = 2, /* label unconfined only if all */