From 6820c9fc0995a497b962df8a5ba46f6474064d87 Mon Sep 17 00:00:00 2001 From: Cheer Xiao Date: Tue, 8 Jan 2013 22:52:54 +0800 Subject: [PATCH] fix: Put prototype of field_selector back to dhcpd-pools.h It's needed in main to check unknown field selectors. --- src/dhcpd-pools.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dhcpd-pools.h b/src/dhcpd-pools.h index c0183b8..793172d 100644 --- a/src/dhcpd-pools.h +++ b/src/dhcpd-pools.h @@ -224,6 +224,7 @@ int rangecomp(const void *__restrict r1, const void *__restrict r2) __attribute__ ((nonnull(1, 2))); /* sort function pointer and functions */ typedef int (*comparer_t) (struct range_t *r1, struct range_t *r2); +comparer_t field_selector(char c); double ret_percent(struct range_t r); double ret_tc(struct range_t r); double ret_tcperc(struct range_t r);