Date: Tue, 26 Jul 2016 15:35:47 -0500 From: Pedro Giffuni <pfg@FreeBSD.org> To: Benjamin Kaduk <bjkfbsd@gmail.com>, Ed Schouten <ed@freebsd.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r303342 - in head: include lib/libc/stdlib Message-ID: <5f0367b2-6916-b300-bba5-c3d3f3699a91@FreeBSD.org> In-Reply-To: <CAJ5_RoA5%2BAZyp%2BWGTNWHxWJ4SRsv=D0Q7nhCw0FLyv4_OECqYA@mail.gmail.com> References: <201607262011.u6QKBTDp043256@repo.freebsd.org> <CAJ5_RoA5%2BAZyp%2BWGTNWHxWJ4SRsv=D0Q7nhCw0FLyv4_OECqYA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/26/16 15:14, Benjamin Kaduk wrote: > On Tue, Jul 26, 2016 at 3:11 PM, Ed Schouten <ed@freebsd.org > <mailto:ed@freebsd.org>> wrote: > > Author: ed > Date: Tue Jul 26 20:11:29 2016 > New Revision: 303342 > URL: https://svnweb.freebsd.org/changeset/base/303342 > > Log: > Fix typing of srandom() and initstate(). > > POSIX requires that these functions have an unsigned int for their > first > argument; not an unsigned long. > > My reasoning is that we can safely change these functions without > breaking the ABI. As far as I know, our supported architectures either > use registers for passing function arguments that are at least as > big as > long (e.g., amd64), or int and long are of the same size (e.g., i386). > > > Is a __FreeBSD_version bump planned? (Third-party software might want > to be warning-clean.) > Third party software should already follow standards ;). Pedro.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5f0367b2-6916-b300-bba5-c3d3f3699a91>