From ecbcd538a4a545a38e211cd1a1a48d70c7aa3c7a Mon Sep 17 00:00:00 2001 From: John Baldwin 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 ++ sys/dev/randomdev/yarrow.c | 2 -- sys/dev/randomdev/yarrow.h | 2 ++ 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/random/yarrow.c b/sys/dev/random/yarrow.c index 46c1a2cff30a3..df34f659e8e48 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 277b0bd72a082..a81fa1fc904e9 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); diff --git a/sys/dev/randomdev/yarrow.c b/sys/dev/randomdev/yarrow.c index 46c1a2cff30a3..df34f659e8e48 100644 --- a/sys/dev/randomdev/yarrow.c +++ b/sys/dev/randomdev/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/randomdev/yarrow.h b/sys/dev/randomdev/yarrow.h index 277b0bd72a082..a81fa1fc904e9 100644 --- a/sys/dev/randomdev/yarrow.h +++ b/sys/dev/randomdev/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.3