diff options
Diffstat (limited to 'newlib/libc/stdlib/rand_r.c')
-rw-r--r-- | newlib/libc/stdlib/rand_r.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/newlib/libc/stdlib/rand_r.c b/newlib/libc/stdlib/rand_r.c deleted file mode 100644 index 2530727..0000000 --- a/newlib/libc/stdlib/rand_r.c +++ /dev/null @@ -1,7 +0,0 @@ -#include <stdlib.h> - -int -_DEFUN (rand_r, (seed), unsigned int *seed) -{ - return (((*seed) = (*seed) * 1103515245 + 12345) & RAND_MAX); -} |