mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-18 00:37:01 +00:00
analyze: remove unnecessary function
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
20ec1c2b42
commit
5189333c95
3 changed files with 1 additions and 13 deletions
11
src/sort.c
11
src/sort.c
|
|
@ -67,17 +67,6 @@ int ipcomp(const union ipaddr_t *restrict a, const union ipaddr_t *restrict b)
|
|||
}
|
||||
}
|
||||
|
||||
/*! \brief Compare IP address in leases. Suitable for sorting leases.
|
||||
* \param a A lease structure.
|
||||
* \param b A lease structure.
|
||||
* \return Return pas through from ipcomp.
|
||||
*/
|
||||
int leasecomp(const void *restrict a, const void *restrict b)
|
||||
{
|
||||
return ipcomp(&((const struct leases_t *)a)->ip,
|
||||
&((const struct leases_t *)b)->ip);
|
||||
}
|
||||
|
||||
/*! \brief Compare IP address in leases. Suitable for sorting range table.
|
||||
* \param r1 A range structure.
|
||||
* \param r2 A range structure.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue