summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authortb <>2022-01-04 20:30:30 +0000
committertb <>2022-01-04 20:30:30 +0000
commit191a8ff01f214920fa1d8dd7be9fa3513400f74a (patch)
treeb9c90c6d23705d027bdb5a6928e006d09b58cab2 /src/lib/libc
parent54d9eac5c87b49e6b2fa7b089f4fc8722c8d69cf (diff)
downloadopenbsd-191a8ff01f214920fa1d8dd7be9fa3513400f74a.tar.gz
openbsd-191a8ff01f214920fa1d8dd7be9fa3513400f74a.tar.bz2
openbsd-191a8ff01f214920fa1d8dd7be9fa3513400f74a.zip
Refactor extract_min_max()
extract_min_max() crammed all the work in two return statements inside a switch. Make this more readable by splitting out the extraction of the min and max as BIT STRINGs from an addressPrefix or an addressRange and once that's done expanding them to raw addresses. ok inoguchi jsing
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions