On 07/26/16 15:14, Benjamin Kaduk wrote:
On Tue, Jul 26, 2016 at 3:11 PM, Ed Schouten <e...@freebsd.org
<mailto:e...@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.

_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to