Thanks Andreas, it seems clear now that Bionic rand function is not consistent with the standart.
--Alexander 2013/8/6 Andreas Schwab <sch...@suse.de>: > Alexander Ivchenko <aivch...@gmail.com> writes: > >> Still, in C standart it is said that rand is defined in stdlib.h, and >> we don't include it in that testcase. > > It also says: "Provided that a library function can be declared without > reference to any type defined in a header, it is also permissible to > declare the function and use it without including its associated > header." > > Andreas. > > -- > Andreas Schwab, SUSE Labs, sch...@suse.de > GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 > "And now for something completely different."