mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
include: add missing declarations to dhcpd-pool.h
This will fix eight warnings similar to the example below. sort.c:104:5: warning: no previous declaration for 'comp_ip' [-Wmissing-declarations] Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
8e2da89c88
commit
23aae87356
1 changed files with 8 additions and 0 deletions
|
|
@ -219,6 +219,14 @@ void usage(int status) __attribute__ ((noreturn));
|
|||
/* qsort required functions... */
|
||||
/* ...for ranges and... */
|
||||
int ipcomp(const union ipaddr_t *restrict a, const union ipaddr_t *restrict b);
|
||||
int comp_cur(struct range_t *r1, struct range_t *r2);
|
||||
int comp_double(double f1, double f2);
|
||||
int comp_ip(struct range_t *r1, struct range_t *r2);
|
||||
int comp_max(struct range_t *r1, struct range_t *r2);
|
||||
int comp_percent(struct range_t *r1, struct range_t *r2);
|
||||
int comp_tc(struct range_t *r1, struct range_t *r2);
|
||||
int comp_tcperc(struct range_t *r1, struct range_t *r2);
|
||||
int comp_touched(struct range_t *r1, struct range_t *r2);
|
||||
int leasecomp(const void *restrict a, const void *restrict b);
|
||||
int rangecomp(const void *__restrict r1, const void *__restrict r2)
|
||||
__attribute__ ((nonnull(1, 2)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue