diff options
author | 2016-10-11 16:37:11 +0000 | |
---|---|---|
committer | 2016-10-11 16:37:11 +0000 | |
commit | 49093c729010c706627fcb63048a61d4104b7667 (patch) | |
tree | 420c94a0b9c562002e11e32f9c94d367d1f5f680 /lib/libc/stdlib/malloc.c | |
parent | Make the "all" global variable local to main() since it is passed (diff) | |
download | wireguard-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