HomeFreeBSD

syscalls: normalize exit

Description

syscalls: normalize exit

Declare the exit system call normally. This results in the
implementation being named sys_exit rather than sys_sys_exit and
being decalred as returning an int. Infact it does not return
at all because exit1 does not, so add an __unreachable() to let the
compiler know that.

Reviewed by: kib, imp

Details

Provenance
brooksAuthored on Nov 29 2021, 10:03 PM
Parents
rG7fb006e7d61e: syscalls: regen
Branches
Unknown
Tags
Unknown