Skip to content

Commit

Permalink
apparmor: Remove the repeated declaration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shaokun Zhang authored and John Johansen committed Nov 3, 2021
1 parent c75ea02 commit 7e50e9f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions security/apparmor/include/label.h
Original file line number Diff line number Diff line change
@@ -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 */

0 comments on commit 7e50e9f

Please sign in to comment.