We get 1 error when building kernel with -Werror=missing-prototypes Signed-off-by: Wujie Duan <wjduan@xxxxxxxxxxxxx> --- arch/mips/kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c index 479999b7f2de..b99c0e9bb5c6 100644 --- a/arch/mips/kernel/signal.c +++ b/arch/mips/kernel/signal.c @@ -435,7 +435,7 @@ int protected_restore_fp_context(void __user *sc) return err ?: sig; } -int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) +static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) { int err = 0; int i; -- 2.34.1