summaryrefslogtreecommitdiffstats
path: root/sys/dev/random
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-09-11 19:31:28 +0000
committerjhb <jhb@FreeBSD.org>2000-09-11 19:31:28 +0000
commit5a1ae8110e3702227c5e49090613e4e627464075 (patch)
tree6643a3242a5d3cd1524e5b660800443bc238b83a /sys/dev/random
parent51e519827fd7281e350cf9a22d2294f55da50a5d (diff)
downloadFreeBSD-src-5a1ae8110e3702227c5e49090613e4e627464075.zip
FreeBSD-src-5a1ae8110e3702227c5e49090613e4e627464075.tar.gz
Move the prototypes for random_set_wakeup* from yarrow.c to yarrow.h so that
both yarrow.c and harvest.c can use them. Approved by: markm
Diffstat (limited to 'sys/dev/random')
-rw-r--r--sys/dev/random/yarrow.c2
-rw-r--r--sys/dev/random/yarrow.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/random/yarrow.c b/sys/dev/random/yarrow.c
index 46c1a2c..df34f65 100644
--- a/sys/dev/random/yarrow.c
+++ b/sys/dev/random/yarrow.c
@@ -58,8 +58,6 @@ static void reseed(int);
static void random_harvest_internal(struct timespec *, void *, u_int, u_int, u_int, enum esource);
static void random_kthread(void *);
-void random_set_wakeup(int *, int);
-void random_set_wakeup_exit(int *, int, int);
/* Structure holding the entropy state */
struct random_state random_state;
diff --git a/sys/dev/random/yarrow.h b/sys/dev/random/yarrow.h
index 277b0bd..a81fa1f 100644
--- a/sys/dev/random/yarrow.h
+++ b/sys/dev/random/yarrow.h
@@ -43,6 +43,8 @@ int random_init(void);
void random_deinit(void);
void random_init_harvester(void (*)(struct timespec *, void *, u_int, u_int, u_int, enum esource));
void random_deinit_harvester(void);
+void random_set_wakeup(int *, int);
+void random_set_wakeup_exit(int *, int, int);
void write_random(void *, u_int);
OpenPOWER on IntegriCloud