summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorrzalamena <rzalamena@openbsd.org>2016-10-11 16:37:11 +0000
committerrzalamena <rzalamena@openbsd.org>2016-10-11 16:37:11 +0000
commit49093c729010c706627fcb63048a61d4104b7667 (patch)
tree420c94a0b9c562002e11e32f9c94d367d1f5f680 /lib/libc/stdlib/malloc.c
parentMake the "all" global variable local to main() since it is passed (diff)
downloadwireguard-openbsd-49093c729010c706627fcb63048a61d4104b7667.tar.xz
wireguard-openbsd-49093c729010c706627fcb63048a61d4104b7667.zip
Small code improvements:
- use the same idiom as switchd(8) to calculate alignment; - use oxm_value instead of doing pointer arithmetic; - typo fix: 'recived' -> 'received'; - remove unused variable; - use definition instead of hardcoded value; ok reyk@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions