summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/randomdev.h
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2013-10-08 22:14:07 +0000
committermarkm <markm@FreeBSD.org>2013-10-08 22:14:07 +0000
commit96f5566b8ee5cc7af6b65612eb13e6c52d7c6f2d (patch)
tree9a54587031c0869dab8a48ecf0c7bcf4ba6bcc0d /sys/dev/random/randomdev.h
parent7334895900372a7f012c15ba12cfd3a9875ea182 (diff)
downloadFreeBSD-src-96f5566b8ee5cc7af6b65612eb13e6c52d7c6f2d.zip
FreeBSD-src-96f5566b8ee5cc7af6b65612eb13e6c52d7c6f2d.tar.gz
Fix some just-noticed problems:
o Allow this to work with "nodevice random" by fixing where the MALLOC pool is defined. o Fix the explicit reseed code. This was correct as submitted, but in the project branch doesn't need to set the "seeded" bit as this is done correctly in the "unblock" function. o Remove some debug ifdeffing. o Adjust comments.
Diffstat (limited to 'sys/dev/random/randomdev.h')
-rw-r--r--sys/dev/random/randomdev.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/random/randomdev.h b/sys/dev/random/randomdev.h
index 3afa943..a0e002f 100644
--- a/sys/dev/random/randomdev.h
+++ b/sys/dev/random/randomdev.h
@@ -30,8 +30,6 @@
* and non algorithm-specific for the entropy processor
*/
-MALLOC_DECLARE(M_ENTROPY);
-
typedef void random_init_func_t(void);
typedef void random_deinit_func_t(void);
typedef int random_block_func_t(int);
OpenPOWER on IntegriCloud