diff options
author | 2017-10-17 19:23:09 +0000 | |
---|---|---|
committer | 2017-10-17 19:23:09 +0000 | |
commit | d165a357d09223f05daad75a2c2f09c628cf5b5d (patch) | |
tree | 6a970950f047de6456380b097428e8d613ab6673 /lib | |
parent | sync (diff) | |
download | wireguard-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