Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2016 01:50:43 +0000 (UTC)
From:      "Simon J. Gerraty" <sjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r301713 - head/sys/dev/random
Message-ID:  <201606090150.u591ohZa019497@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606090150.u591ohZa019497>