mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 08:16:59 +00:00
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:
parent
a9d2d9c82f
commit
b59e980cab
2 changed files with 7 additions and 11 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue