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: kernel test robot <lkp@intel.com>
Signed-off-by: Souptick Joarder (HPE) <jrdr.linux@gmail.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
Souptick Joarder (HPE) 2022-07-19 07:42:18 +05:30 коммит произвёл John Johansen
Родитель 524d8e1425
Коммит a3f215ef08
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;