CVSROOT:        /cvs
Module name:    src
Changes by:     chel...@cvs.openbsd.org 2020/10/07 11:53:44

Modified files:
        sys/kern       : kern_time.c 

Log message:
sys_getitimer(), sys_setitimer(): style(9), misc. cleanup

- Consolidate variable declarations.
- Remove superfluous parentheses from return statements.
- Prefer sizeof(variable) to sizeof(type) for copyin(9)/copyout(9).
- Remove some intermediate pointers from sys_setitimer().  Using SCARG()
directly here makes it more obvious to the reader what you're copying.

Reply via email to