diff options
author | 2016-09-05 09:47:02 +0000 | |
---|---|---|
committer | 2016-09-05 09:47:02 +0000 | |
commit | 754110ae85a7be217b20315e864399d54efce67d (patch) | |
tree | 3cb79027e8dc1cdbc11f91321a27fd72c1958a7e /sys/dev/pci/if_ipw.c | |
parent | Remove an old getopt example from some dusty corner. (diff) | |
download | wireguard-openbsd-754110ae85a7be217b20315e864399d54efce67d.tar.xz wireguard-openbsd-754110ae85a7be217b20315e864399d54efce67d.zip |
Delete some abstraction that we don't and won't need.
Declare functions rather than generating declarations with macros.
Just call functions rather than mainting function pointer tables.
Purge unused arguments. Simplify mbstate_t casting.
Garbage collect one empty and one unused function.
As a bonus, make mbsinit(3) work at all, it returned garbage
in the past due to a missing cast when passing mbstate_t.
Apart from that, no functional change.
No libc bump needed; only private functions are removed and
change prototype and only private structs change size.
OK stsp@ mpi@; deraadt@ likes the general direction.
Diffstat (limited to 'sys/dev/pci/if_ipw.c')
0 files changed, 0 insertions, 0 deletions