New module 'random'.
authorBruno Haible <bruno@clisp.org>
Sat, 14 Jan 2012 14:15:28 +0000 (15:15 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 14 Jan 2012 14:24:19 +0000 (15:24 +0100)
commite2ee61c4fa5854e218eaeedef1dcedf26e965fba
tree0b083ba3a5020b1ecdafd5d46fa01780ffd4fce5
parent9801c60a5d48b29b062fbdef8459f36137961b24
New module 'random'.

* lib/stdlib.in.h (random, srandom, initstate, setstate): New
declarations.
* lib/random.c: New file, based on glibc/stdlib/random.c.
* m4/random.m4: New file.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_RANDOM,
HAVE_RANDOM.
* modules/stdlib (Makefile.am): Substitute GNULIB_RANDOM, HAVE_RANDOM.
* modules/random: New file.
* config/srclist.txt: Add an entry for random.c.
* doc/posix-functions/random.texi: Mention the 'random' module.
* doc/posix-functions/initstate.texi: Likewise.
* doc/posix-functions/setstate.texi: Likewise.
* doc/posix-functions/srandom.texi: Likewise.
12 files changed:
ChangeLog
config/srclist.txt
doc/posix-functions/initstate.texi
doc/posix-functions/random.texi
doc/posix-functions/setstate.texi
doc/posix-functions/srandom.texi
lib/random.c [new file with mode: 0644]
lib/stdlib.in.h
m4/random.m4 [new file with mode: 0644]
m4/stdlib_h.m4
modules/random [new file with mode: 0644]
modules/stdlib