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>
#include "windows/posix.h"
#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
#ifndef PTHREAD_STACK_MIN
#define PTHREAD_STACK_MIN 65535
#endif