X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-windows.h;h=36b421ee45ad52049dabafa625acda25d79c1c00;hb=afe8d310df03abf53281fa695d62ba9b875ec5e4;hp=0c8c42d39a24bc5e2afc2115bee0deb9dbdc91e9;hpb=22de5d7741f963e57dd5e3bb70d822e992dd2515;p=fio.git diff --git a/os/os-windows.h b/os/os-windows.h index 0c8c42d3..36b421ee 100644 --- a/os/os-windows.h +++ b/os/os-windows.h @@ -116,7 +116,6 @@ int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset); -extern void td_fill_rand_seeds(struct thread_data *); static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes) { @@ -239,7 +238,7 @@ static inline int fio_cpuset_exit(os_cpu_mask_t *mask) return 0; } -static inline int init_random_state(struct thread_data *td, unsigned long *rand_seeds, int size) +static inline int init_random_seeds(unsigned long *rand_seeds, int size) { HCRYPTPROV hCryptProv; @@ -258,7 +257,6 @@ static inline int init_random_state(struct thread_data *td, unsigned long *rand_ } CryptReleaseContext(hCryptProv, 0); - td_fill_rand_seeds(td); return 0; }