diff options
author | miod <> | 2014-05-06 20:32:11 +0000 |
---|---|---|
committer | miod <> | 2014-05-06 20:32:11 +0000 |
commit | 106b082db720603bef9185809f36184f363eecb7 (patch) | |
tree | 564e602e76e9cbd24402a905111568f3cba0e62a /src/lib/libc | |
parent | 1625bc46e148bc66247d452ced1c755dc6878f04 (diff) | |
download | openbsd-106b082db720603bef9185809f36184f363eecb7.tar.gz openbsd-106b082db720603bef9185809f36184f363eecb7.tar.bz2 openbsd-106b082db720603bef9185809f36184f363eecb7.zip |
Assorted cleanups:
- replace hardcoded sizes with sizeof()
- pqueue_find() apparently used to need to keep track of the previous node
when iterating, which causes its logic to be complicated. However, nowadays
it only needs to iterate, so replace with a straightforward, much
readable logic.
- remove #if 0'ed code
From ``sin'' from 2f30 dot org on tech@, thanks!
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions