hash: make delete to use HASH_ITER if it is available

This commit also makes the functions ansi C compliant by adding void to
function argument list.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2012-12-09 22:43:32 +00:00
parent a9d2d9c82f
commit b59e980cab
2 changed files with 7 additions and 11 deletions

View file

@ -244,6 +244,6 @@ void clean_up(void);
void add_lease(union ipaddr_t *ip, enum ltype type);
struct leases_t *find_lease(union ipaddr_t *ip);
void delete_lease(struct leases_t *lease);
void delete_all_leases();
void delete_all_leases(void);
#endif /* DHCPD_POOLS_H */