apparmor: mark new functions static
authorArnd Bergmann <arnd@arndb.de>
Fri, 20 Oct 2023 13:12:57 +0000 (15:12 +0200)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 22 Oct 2023 07:45:53 +0000 (00:45 -0700)
commit7060d3ccdd4cf042749664d2fe93f978a777e3e9
tree2921bf646e2e6704629c9d52a0e2a05890ac6a85
parent157a3537d6bc28ceb9a11fc8cb67f2152d860146
apparmor: mark new functions static

Two new functions were introduced as global functions when they are
only called from inside the file that defines them and should have
been static:

security/apparmor/lsm.c:658:5: error: no previous prototype for 'apparmor_uring_override_creds' [-Werror=missing-prototypes]
security/apparmor/lsm.c:682:5: error: no previous prototype for 'apparmor_uring_sqpoll' [-Werror=missing-prototypes]

Fixes: c4371d90633b7 ("apparmor: add io_uring mediation")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/lsm.c