diff options
author | Xin LI <delphij@FreeBSD.org> | 2018-08-26 18:04:54 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2018-08-26 18:04:54 +0000 |
commit | a29173be5349307a59cbf9292f765bf179db39f9 (patch) | |
tree | 97fc236d4ec79b79d13a4e2da8b3f6d23141ed90 /include/stdlib.h | |
parent | 01a9c32322c8fa0c8133aa6abf1ac60f89e08223 (diff) | |
download | src-a29173be5349307a59cbf9292f765bf179db39f9.tar.gz src-a29173be5349307a59cbf9292f765bf179db39f9.zip |
Remove arc4random_stir and arc4random_addrandom from stdlib.h.
Users of arc4random(3) should never call them directly.
All ports tree usage was fixed as part of bug 230756.
Relnotes: yes
Approved by: re (marius), exp-run (bug 230756 by portmgr antoine)
Notes
Notes:
svn path=/head/; revision=338331
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 51f003171451..b2264784ed80 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -254,12 +254,6 @@ void arc4random_buf(void *, size_t); __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, |