• Arnd Bergmann's avatar
    apparmor: mark new functions static · 7060d3cc
    Arnd Bergmann authored
    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: c4371d90 ("apparmor: add io_uring mediation")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
    7060d3cc
lsm.c 58.2 KB