svn commit: r301713 - head/sys/dev/random

Simon J. Gerraty sjg at FreeBSD.org
Thu Jun 9 01:50:44 UTC 2016


Author: sjg
Date: Thu Jun  9 01:50:43 2016
New Revision: 301713
URL: https://svnweb.freebsd.org/changeset/base/301713

Log:
  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 at juniper.net
  Reviewed by:	markm
  Approved by:	so

Modified:
  head/sys/dev/random/random_harvestq.h

Modified: head/sys/dev/random/random_harvestq.h
==============================================================================
--- head/sys/dev/random/random_harvestq.h	Thu Jun  9 01:31:09 2016	(r301712)
+++ head/sys/dev/random/random_harvestq.h	Thu Jun  9 01:50:43 2016	(r301713)
@@ -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"
 


More information about the svn-src-head mailing list