Commit a3f215ef authored by Souptick Joarder (HPE)'s avatar Souptick Joarder (HPE) Committed by John Johansen

apparmor: Mark alloc_unconfined() as static

Kernel test robot throws below warning ->
security/apparmor/policy_ns.c:83:20: warning: no previous prototype
for function 'alloc_unconfined' [-Wmissing-prototypes]

Mark it as static.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarSouptick Joarder (HPE) <jrdr.linux@gmail.com>
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 524d8e14
......@@ -80,7 +80,7 @@ const char *aa_ns_name(struct aa_ns *curr, struct aa_ns *view, bool subns)
return aa_hidden_ns_name;
}
struct aa_profile *alloc_unconfined(const char *name)
static struct aa_profile *alloc_unconfined(const char *name)
{
struct aa_profile *profile;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment