summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2017-10-17 19:23:09 +0000
committerjasper <jasper@openbsd.org>2017-10-17 19:23:09 +0000
commitd165a357d09223f05daad75a2c2f09c628cf5b5d (patch)
tree6a970950f047de6456380b097428e8d613ab6673 /lib
parentsync (diff)
downloadwireguard-openbsd-d165a357d09223f05daad75a2c2f09c628cf5b5d.tar.xz
wireguard-openbsd-d165a357d09223f05daad75a2c2f09c628cf5b5d.zip
Simplify code that determines the number of arguments for a given function.
For amd64 this means removing db_numargs() and directly setting narg to the correct value (instead of capping it during iteration). On i386 rename db_numargs() to db_i386_numargs() and only call it when we fail to get the correct number out of CTF. discussed with an ok mpi@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions