diff options
| author | Xin LI <delphij@FreeBSD.org> | 2018-08-19 17:40:50 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2018-08-19 17:40:50 +0000 |
| commit | c1e80940f3b4030df0aaed73028053af057e476d (patch) | |
| tree | ee75152b4a830a9a9cc43935fc322da1c1241897 /include/stdlib.h | |
| parent | 38a13e9002540152964435700f0f2a73ad5e2e62 (diff) | |
Notes
Diffstat (limited to 'include/stdlib.h')
| -rw-r--r-- | include/stdlib.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index d38952e15629..51f003171451 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -250,11 +250,16 @@ extern void (*malloc_message)(void *, const char *); void abort2(const char *, int, void **) __dead2; __uint32_t arc4random(void); -void arc4random_addrandom(unsigned char *, int); void arc4random_buf(void *, size_t); -void arc4random_stir(void); __uint32_t arc4random_uniform(__uint32_t); + +#if !defined(BURN_BRIDGES) +/* Deprecated arc4random() functions */ +#define arc4random_stir() +#define arc4random_addrandom(a,b) +#endif + #ifdef __BLOCKS__ int atexit_b(void (^ _Nonnull)(void)); void *bsearch_b(const void *, const void *, size_t, |
