Mercurial > hg > octave-lyh > gnulib-hg
changeset 16278:0872da28238e
random_r: Use common idioms.
* lib/random_r.c: Include <stdlib.h> first.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 12 Jan 2012 22:55:13 +0100 |
parents | 58a55a7ffba8 |
children | 11a41c8839e3 |
files | ChangeLog lib/random_r.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-01-12 Bruno Haible <bruno@clisp.org> + random_r: Use common idioms. + * lib/random_r.c: Include <stdlib.h> first. + random_r: Override incompatible API on AIX, OSF/1. * lib/stdlib.in.h (random_r, srandom_r, initstate_r, setstate_r): Override the system function if REPLACE_RANDOM_R is 1.