Re: [18/21] powerpc: Add missing prototypes for sys_sigreturn & sys_rt_sigreturn
From: Michael Ellerman
Date: Wed Mar 14 2018 - 05:28:22 EST
On Sun, 2018-02-25 at 17:22:33 UTC, Mathieu Malaterre wrote:
> Two functions did not have a prototype defined in signal.h header. Fix the
> following two warnings (treated as errors in W=1):
>
> CC arch/powerpc/kernel/signal_32.o
> arch/powerpc/kernel/signal_32.c:1135:6: error: no previous prototype for â??sys_rt_sigreturnâ?? [-Werror=missing-prototypes]
> long sys_rt_sigreturn(int r3, int r4, int r5, int r6, int r7, int r8,
> ^~~~~~~~~~~~~~~~
> arch/powerpc/kernel/signal_32.c:1422:6: error: no previous prototype for â??sys_sigreturnâ?? [-Werror=missing-prototypes]
> long sys_sigreturn(int r3, int r4, int r5, int r6, int r7, int r8,
> ^~~~~~~~~~~~~
> cc1: all warnings being treated as errors
>
> Signed-off-by: Mathieu Malaterre <malat@xxxxxxxxxx>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/b53875c4b4f212a7a8e505e2d10635
cheers