diff options
author | Bart Van Assche <bvanassche@acm.org> | 2020-01-05 11:40:36 -0800 |
---|---|---|
committer | Bart Van Assche <bvanassche@acm.org> | 2020-01-06 11:10:56 -0800 |
commit | 060514e7e0b23e5441bf88ce80f6ec13c8b2399f (patch) | |
tree | 2889cab2da7abc71c641456bf1b34bdd8ca53311 | |
parent | 7e2a317e68abf1ca9946151ea61b6f1fc95a4686 (diff) | |
download | fio-060514e7e0b23e5441bf88ce80f6ec13c8b2399f.tar.gz fio-060514e7e0b23e5441bf88ce80f6ec13c8b2399f.tar.bz2 |
Windows: Remove more unused OS dependent code
Since commit 46bfd4e5170e ("Remove old OS dependent (unused) random code")
rand_r() is no longer used. Hence remove its definition.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
-rw-r--r-- | os/os-windows.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/os/os-windows.h b/os/os-windows.h index 6061d8c7..b78abf0f 100644 --- a/os/os-windows.h +++ b/os/os-windows.h @@ -22,11 +22,6 @@ #include "windows/posix.h" -/* MinGW won't declare rand_r unless _POSIX is defined */ -#if defined(WIN32) && !defined(rand_r) -int rand_r(unsigned *); -#endif - #ifndef PTHREAD_STACK_MIN #define PTHREAD_STACK_MIN 65535 #endif |