From 5a1ae8110e3702227c5e49090613e4e627464075 Mon Sep 17 00:00:00 2001 From: jhb Date: Mon, 11 Sep 2000 19:31:28 +0000 Subject: 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 --- sys/dev/random/yarrow.c | 2 -- sys/dev/random/yarrow.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/random') 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); -- cgit v1.1