diff options
author | 2020-10-07 17:53:44 +0000 | |
---|---|---|
committer | 2020-10-07 17:53:44 +0000 | |
commit | 574045aaa4854eccad4efa53004d3a2e809c6419 (patch) | |
tree | d79095e6f25e87597852595d605107d646e3e131 /bin/ls/print.c | |
parent | zap trailing whitespace (diff) | |
download | wireguard-openbsd-574045aaa4854eccad4efa53004d3a2e809c6419.tar.xz wireguard-openbsd-574045aaa4854eccad4efa53004d3a2e809c6419.zip |
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.
Diffstat (limited to 'bin/ls/print.c')
0 files changed, 0 insertions, 0 deletions