Date: Tue, 26 Jul 2016 15:14:59 -0500 From: Benjamin Kaduk <bjkfbsd@gmail.com> To: 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: <CAJ5_RoA5%2BAZyp%2BWGTNWHxWJ4SRsv=D0Q7nhCw0FLyv4_OECqYA@mail.gmail.com> In-Reply-To: <201607262011.u6QKBTDp043256@repo.freebsd.org> References: <201607262011.u6QKBTDp043256@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 26, 2016 at 3:11 PM, Ed Schouten <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.) -Ben
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5_RoA5%2BAZyp%2BWGTNWHxWJ4SRsv=D0Q7nhCw0FLyv4_OECqYA>