summaryrefslogtreecommitdiff
path: root/usr.sbin/bind
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-10 17:49:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-10 17:49:47 +0000
commitae190f7be0e00baf53fd2c3ec83b0601cb0fb4b5 (patch)
tree9e1902fdf35a76311f6f2d4801e423cb2b3da5b8 /usr.sbin/bind
parent09751c9006bccfb2e124450a1cf918cec2884fd0 (diff)
#if 0 a function which we have we do not use, and where the call to it is in #if 0 as well
Diffstat (limited to 'usr.sbin/bind')
-rw-r--r--usr.sbin/bind/lib/dns/dispatch.c2
1 files changed, 2 insertions, 0 deletions
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.