Skip to content

Commit e56a50f

Browse files
benzeajmberg-intel
authored andcommitted
um: remove "extern" from implementation of sigchld_handler
There is no need to mark the function as extern in the implementation. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: 8420e08 ("um: Track userspace children dying in SECCOMP mode") Signed-off-by: Benjamin Berg <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent 27a0410 commit e56a50f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/um/kernel/irq.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,8 +691,8 @@ void __init init_IRQ(void)
691691
os_setup_epoll();
692692
}
693693

694-
extern void sigchld_handler(int sig, struct siginfo *unused_si,
695-
struct uml_pt_regs *regs, void *mc)
694+
void sigchld_handler(int sig, struct siginfo *unused_si,
695+
struct uml_pt_regs *regs, void *mc)
696696
{
697697
do_IRQ(SIGCHLD_IRQ, regs);
698698
}

0 commit comments

Comments
 (0)