summaryrefslogtreecommitdiffstats
path: root/bin/ls/print.c
diff options
context:
space:
mode:
authorcheloha <cheloha@openbsd.org>2020-10-07 17:53:44 +0000
committercheloha <cheloha@openbsd.org>2020-10-07 17:53:44 +0000
commit574045aaa4854eccad4efa53004d3a2e809c6419 (patch)
treed79095e6f25e87597852595d605107d646e3e131 /bin/ls/print.c
parentzap trailing whitespace (diff)
downloadwireguard-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