tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: Fixing noreturn function
/nbsd/nbsd-5/sys/kern/kern_lwp.c: In function 'lwp_exit':
/nbsd/nbsd-5/sys/kern/kern_lwp.c:856: warning: 'noreturn' function does
return
Any suggestions on how to fix this? If !current, the function will
just return at the end, rather than going through lwp_exit_switchaway().
Also I would have guessed that lwp_exit_switchaway should be
marked __dead() as well.
yeah, it should be marked at __dead.
.mrg.
Home |
Main Index |
Thread Index |
Old Index