Date: Sun, 26 Aug 2018 18:04:54 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r338331 - in head: include sys/sys Message-ID: <201808261804.w7QI4sgo093986@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Sun Aug 26 18:04:54 2018 New Revision: 338331 URL: https://svnweb.freebsd.org/changeset/base/338331 Log: 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) Modified: head/include/stdlib.h head/sys/sys/param.h Modified: head/include/stdlib.h ============================================================================== --- head/include/stdlib.h Sun Aug 26 17:05:43 2018 (r338330) +++ head/include/stdlib.h Sun Aug 26 18:04:54 2018 (r338331) @@ -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, Modified: head/sys/sys/param.h ============================================================================== --- head/sys/sys/param.h Sun Aug 26 17:05:43 2018 (r338330) +++ head/sys/sys/param.h Sun Aug 26 18:04:54 2018 (r338331) @@ -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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808261804.w7QI4sgo093986>