[uClibc]srand reference in wrong file

Thuys, Michiel michiel.thuys at intersil.com
Fri Apr 27 15:16:51 UTC 2001


Hi Erik,

In the file stdlib/rand.c, the following line makes a reference for srand:

__asm__(".weak srand; srand = srandom");

The function srandom, however, is located in stdlib/random.c. Therefore, I think
this line should be in stdlib/random.c, not in rand.c.

Agree?

Michiel






More information about the uClibc mailing list