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)
This commit is contained in:
Xin LI 2018-08-26 18:04:54 +00:00
parent 01a9c32322
commit a29173be53
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338331
2 changed files with 1 additions and 7 deletions

View file

@ -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,

View file

@ -60,7 +60,7 @@
* in the range 5 to 9.
*/
#undef __FreeBSD_version
#define __FreeBSD_version 1200082 /* Master, propagated to newvers */
#define __FreeBSD_version 1200083 /* Master, propagated to newvers */
/*
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,