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
This commit is contained in:
sjg 2016-06-09 01:50:43 +00:00
parent fc67f065dd
commit 29529f7688

View File

@ -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"