summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-01-14 15:15:28 +0100
committerBruno Haible <bruno@clisp.org>2012-01-14 15:24:19 +0100
commite2ee61c4fa5854e218eaeedef1dcedf26e965fba (patch)
tree0b083ba3a5020b1ecdafd5d46fa01780ffd4fce5 /config
parent9801c60a5d48b29b062fbdef8459f36137961b24 (diff)
downloadgnulib-e2ee61c4fa5854e218eaeedef1dcedf26e965fba.tar.gz
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.
Diffstat (limited to 'config')
-rw-r--r--config/srclist.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/srclist.txt b/config/srclist.txt
index abea167fb7..ba3143a3c1 100644
--- a/config/srclist.txt
+++ b/config/srclist.txt
@@ -198,6 +198,7 @@ $GNUORG/disclaim.program doc/Copyright
#$LIBCSRC/posix/glob.h lib gpl (glob-libc.h in gnulib)
#
#$LIBCSRC/stdlib/putenv.c lib gpl
+#$LIBCSRC/stdlib/random.c lib gpl
#$LIBCSRC/stdlib/random_r.c lib gpl
#$LIBCSRC/stdlib/rpmatch.c lib gpl
#$LIBCSRC/stdlib/strtol.c lib gpl