From 6aacec26cc00a8f82b2dc92e5e3d00a768ae8464 Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Thu, 9 Jun 2016 01:50:43 +0000 Subject: [PATCH] Add a prototype for random_harvest_queue to dev/random/random_harvestq.h This fixes a warning that occurs in a number of files that use the random_harvest_queue function. Differential Revision: https://reviews.freebsd.org/D4229 Submitted by: stevek@juniper.net Reviewed by: markm Approved by: so --- sys/dev/random/random_harvestq.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/random/random_harvestq.h b/sys/dev/random/random_harvestq.h index 421b592d924..6339ce88ea6 100644 --- a/sys/dev/random/random_harvestq.h +++ b/sys/dev/random/random_harvestq.h @@ -43,7 +43,9 @@ struct harvest_event { uint8_t he_source; /* origin of the entropy */ } __packed; -void read_rate_increment(u_int); +void random_harvest_queue(const void *, u_int, u_int, + enum random_entropy_source); +void read_rate_increment(u_int); #define RANDOM_HARVESTQ_BOOT_ENTROPY_FILE "/boot/entropy"