posix-timers: Add sys_ni_posix_timers() prototype
authorArnd Bergmann <arnd@arndb.de>
Wed, 7 Jun 2023 14:28:45 +0000 (16:28 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 18 Jun 2023 20:41:53 +0000 (22:41 +0200)
commit892f439ea17cbf56a36e57c584d583649a64b404
tree49a872b9df48987f7204de1a8bad9ce90c6f67b9
parenta7e282c77785c7eabf98836431b1f029481085ad
posix-timers: Add sys_ni_posix_timers() prototype

The sys_ni_posix_timers() definition causes a warning when the declaration
is missing, so this needs to be added along with the normal syscalls,
outside of the #ifdef.

kernel/time/posix-stubs.c:26:17: error: no previous prototype for 'sys_ni_posix_timers' [-Werror=missing-prototypes]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230607142925.3126422-1-arnd@kernel.org
arch/alpha/kernel/osf_sys.c
include/linux/syscalls.h