From ae190f7be0e00baf53fd2c3ec83b0601cb0fb4b5 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 10 Nov 2008 17:49:47 +0000 Subject: #if 0 a function which we have we do not use, and where the call to it is in #if 0 as well --- usr.sbin/bind/lib/dns/dispatch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/bind/lib/dns/dispatch.c b/usr.sbin/bind/lib/dns/dispatch.c index 44ec207027c..88a06d25be0 100644 --- a/usr.sbin/bind/lib/dns/dispatch.c +++ b/usr.sbin/bind/lib/dns/dispatch.c @@ -399,6 +399,7 @@ dispatch_arc4random(dns_dispatchmgr_t *mgr) { return (result); } +#if 0 static isc_uint16_t dispatch_arc4uniformrandom(dns_dispatchmgr_t *mgr, isc_uint16_t upper_bound) { isc_uint16_t min, r; @@ -431,6 +432,7 @@ dispatch_arc4uniformrandom(dns_dispatchmgr_t *mgr, isc_uint16_t upper_bound) { return (r % upper_bound); } +#endif /* * Return a hash of the destination and message id. -- cgit v1.2.3