diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-21 10:12:54 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-03-21 13:12:19 +0300 |
commit | 08537d88f625658222ecc63ccf633ed4278b7b3b (patch) | |
tree | fa419ab951b36cf5f73d7043243f817ccb5765e8 /newlib/libc/stdlib | |
parent | 2519f0ef0c24e4a0fec98b58e6f3481d5dd57acd (diff) |
Move arc4random Cygwin only code to Cygwin
Keep the Newlib arc4random.c identical to the OpenBSD upstream version.
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>.
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r-- | newlib/libc/stdlib/arc4random.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/newlib/libc/stdlib/arc4random.c b/newlib/libc/stdlib/arc4random.c index 0eeaa2ccd..75cdff3bc 100644 --- a/newlib/libc/stdlib/arc4random.c +++ b/newlib/libc/stdlib/arc4random.c @@ -193,18 +193,3 @@ arc4random_buf(void *buf, size_t n) _rs_random_buf(buf, n); _ARC4_UNLOCK(); } - -#ifdef __CYGWIN__ -/* Exported functions removed from OpenBSD in the meantime. Keep them, - but make them non-functional. They don't return a value anyway. */ -void -arc4random_stir(void) -{ -} - -void -arc4random_addrandom(u_char *dat, int datlen) -{ -} - -#endif /* __CYGWIN__ */ |