summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/hash.c
AgeCommit message (Collapse)Author
2010-01-01Wrappers around a wrapper around free() are of no more use thanKenneth R Westerback
wrappers around wrappers around calloc(). The purpose of the free() wrapper is to generate an error message when free'ing NULL. But free_hash_bucket(), free_lease(), and free_tree() are all called immediately after dereferencing the pointer to be freed. Thus the error message will never be issued.
2010-01-01A slightly more complex calloc() wrapper wrapper, new_hash_table(),Kenneth R Westerback
bites the dust.
2010-01-01Single-use wrapper functions that just call a wrapper functionKenneth R Westerback
around calloc() and end up producing duplicate error messages are just confusing. Eliminate new_hash_bucket(), new_lease(), new_leases(), new_group().
2004-09-16avoid aliasing with libc functions; ok henningTheo de Raadt
2004-04-14more crap bites the dustHenning Brauer
2004-04-13may the whacking beginHenning Brauer