diff --git a/src/random_r.c b/src/random_r.c index 3affa14..bbca0c7 100644 --- a/src/random_r.c +++ b/src/random_r.c @@ -26,20 +26,6 @@ * This file is part of pixiewps and was modified */ -#include -#include -#include -#include - -#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) -# include -# if defined(BSD) || defined(__APPLE__) && defined(__MACH__) - /* Nothing to include */ -#else -# include -# endif -#endif - #include struct m_random_data { @@ -127,7 +113,7 @@ void m_srandom_r(unsigned int seed, struct m_random_data *buf) kc = DEG_3 * 10; while (--kc >= 0) { int32_t discard; - (void)m_random_r(buf, &discard); + m_random_r(buf, &discard); } }