diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2008-01-09 16:36:19 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 23:14:38 +0100 |
commit | 07f766885879a1fd4502fb8dd531d1fe3c575510 (patch) | |
tree | b4f50ac71ebce69688dafade38e3be585ec7daec /scripts/decodecode | |
parent | 75ff4309cdb1d7303750aeed07a5d80382fe2e71 (diff) | |
download | linux-07f766885879a1fd4502fb8dd531d1fe3c575510.tar.gz linux-07f766885879a1fd4502fb8dd531d1fe3c575510.tar.bz2 linux-07f766885879a1fd4502fb8dd531d1fe3c575510.zip |
kconfig: use C89 random functions in conf.c
rand and srand functions conform also to C89 in addition to POSIX.1-2001,
which makes them a bit more portable (work also on MinGW host). Linux man
page also says:
"The versions of rand() and srand() in the Linux C Library use the same
random number generator as random() and srandom()".
* Use C89 conformant functions rand() and srand()
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Diffstat (limited to 'scripts/decodecode')
0 files changed, 0 insertions, 0 deletions