projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e2a317
)
Windows: Remove more unused OS dependent code
author
Bart Van Assche
<bvanassche@acm.org>
Sun, 5 Jan 2020 19:40:36 +0000
(11:40 -0800)
committer
Bart Van Assche
<bvanassche@acm.org>
Mon, 6 Jan 2020 19:10:56 +0000
(11:10 -0800)
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>
os/os-windows.h
patch
|
blob
|
blame
|
history
diff --git
a/os/os-windows.h
b/os/os-windows.h
index 6061d8c70761447ef53ed841d3f9316313845ad4..b78abf0f95896fabca56f2176e8ceb5bc59e680d 100644
(file)
--- 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