summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/randomdev.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2013-07-31 17:21:18 +0000
committerobrien <obrien@FreeBSD.org>2013-07-31 17:21:18 +0000
commit7999076e3e464a2dd3a7abc86d14b874da837ec0 (patch)
tree0214e6338a2fb9904fb96b90f6c2f84d17e742a0 /sys/dev/random/randomdev.h
parenta8df631d0527c68753a33443af52e11b08ebde5d (diff)
downloadFreeBSD-src-7999076e3e464a2dd3a7abc86d14b874da837ec0.zip
FreeBSD-src-7999076e3e464a2dd3a7abc86d14b874da837ec0.tar.gz
Back out r253779 & r253786.
Diffstat (limited to 'sys/dev/random/randomdev.h')
-rw-r--r--sys/dev/random/randomdev.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/random/randomdev.h b/sys/dev/random/randomdev.h
index 75b2c19..deb6831 100644
--- a/sys/dev/random/randomdev.h
+++ b/sys/dev/random/randomdev.h
@@ -38,7 +38,7 @@ typedef void random_write_func_t(void *, int);
typedef int random_poll_func_t(int, struct thread *);
typedef void random_reseed_func_t(void);
-struct random_adaptor {
+struct random_systat {
struct selinfo rsel;
const char *ident;
int seeded;
@@ -51,5 +51,7 @@ struct random_adaptor {
random_reseed_func_t *reseed;
};
-extern void random_ident_hardware(struct random_adaptor **);
+extern struct random_systat *random_systat;
+
+extern void random_ident_hardware(struct random_systat **);
extern void random_null_func(void);
OpenPOWER on IntegriCloud