diff options
author | 2019-01-05 01:29:21 +0000 | |
---|---|---|
committer | 2019-01-05 01:29:21 +0000 | |
commit | 93d668c7b14358f8fd18a38b1a5c4a2087e447b5 (patch) | |
tree | 03d96d4d535e43573e8912aeacc0602de9921295 /usr.bin/mandoc/man_html.c | |
parent | mention fdt attachments (diff) | |
download | wireguard-openbsd-93d668c7b14358f8fd18a38b1a5c4a2087e447b5.tar.xz wireguard-openbsd-93d668c7b14358f8fd18a38b1a5c4a2087e447b5.zip |
minor cleanup, no functional change:
* in node type switches, explicitly handle all types, sort them,
and abort() on those that cannot occur
* avoid testing pointers as truth values, use "!= NULL"
* avoid testing "constant == variable", use "variable == constant"
* prefer sizeof(var) over sizeof(type)
* delete one duplicate function
* sort some declarations
* delete some useless blank lines
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
0 files changed, 0 insertions, 0 deletions