diff options
author | jhb <jhb@FreeBSD.org> | 2000-09-11 19:31:28 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-09-11 19:31:28 +0000 |
commit | 5a1ae8110e3702227c5e49090613e4e627464075 (patch) | |
tree | 6643a3242a5d3cd1524e5b660800443bc238b83a | |
parent | 51e519827fd7281e350cf9a22d2294f55da50a5d (diff) | |
download | FreeBSD-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
-rw-r--r-- | sys/dev/random/yarrow.c | 2 | ||||
-rw-r--r-- | sys/dev/random/yarrow.h | 2 | ||||
-rw-r--r-- | sys/dev/randomdev/yarrow.c | 2 | ||||
-rw-r--r-- | sys/dev/randomdev/yarrow.h | 2 |
4 files changed, 4 insertions, 4 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); diff --git a/sys/dev/randomdev/yarrow.c b/sys/dev/randomdev/yarrow.c index 46c1a2c..df34f65 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 277b0bd..a81fa1f 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); |