Searched hist:"8 de6c267117c2eb423b1a940601d8e4d525c5f4d" (Results 1 – 3 of 3) sorted by relevance
/freebsd/lib/libc/stdlib/ |
H A D | random.3 | diff 8de6c267117c2eb423b1a940601d8e4d525c5f4d Tue Jul 26 22:11:29 CEST 2016 Ed Schouten <ed@FreeBSD.org> 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).
Reviewed by: ache Differential Revision: https://reviews.freebsd.org/D6644
|
H A D | random.c | diff 8de6c267117c2eb423b1a940601d8e4d525c5f4d Tue Jul 26 22:11:29 CEST 2016 Ed Schouten <ed@FreeBSD.org> 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).
Reviewed by: ache Differential Revision: https://reviews.freebsd.org/D6644
|
/freebsd/include/ |
H A D | stdlib.h | diff 8de6c267117c2eb423b1a940601d8e4d525c5f4d Tue Jul 26 22:11:29 CEST 2016 Ed Schouten <ed@FreeBSD.org> 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).
Reviewed by: ache Differential Revision: https://reviews.freebsd.org/D6644
|