openrisc: Declare do_signal function as static
authorStafford Horne <shorne@gmail.com>
Sun, 20 Aug 2023 16:02:55 +0000 (17:02 +0100)
committerStafford Horne <shorne@gmail.com>
Mon, 21 Aug 2023 07:12:11 +0000 (08:12 +0100)
commitaf1fc7402e560f27ea5a92b7ee0572e3d1e389c5
tree6b004e61bffe4adae8095cae6ce095c0bafc16e3
parent1c4de499e6134ecb048bbd80133b213c705de3e5
openrisc: Declare do_signal function as static

When compiling with W=1 enabling -Wmissing-prototypes the compiler
warns:

  arch/openrisc/kernel/signal.c:227:5: error: no previous prototype for 'do_signal' [-Werror=missing-prototypes]

Fix this by declaring the function a static as it is not used outside of
the scope of this file.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Closes: https://lore.kernel.org/linux-kernel/20230810141947.1236730-17-arnd@kernel.org/
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/signal.c