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 <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202506051226.X8r7X5aa-lkp@intel.com/ Fixes: 8420e08 ("um: Track userspace children dying in SECCOMP mode") Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Link: https://patch.msgid.link/20250605050325.1077208-2-benjamin@sipsolutions.net Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 27a0410 commit e56a50f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)