svn commit: r303342 - in head: include lib/libc/stdlib
Pedro Giffuni
pfg at FreeBSD.org
Tue Jul 26 20:35:51 UTC 2016
On 07/26/16 15:14, Benjamin Kaduk wrote:
> On Tue, Jul 26, 2016 at 3:11 PM, Ed Schouten <ed at freebsd.org
> <mailto:ed at 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.
More information about the svn-src-head
mailing list