[uClibc]srand reference in wrong file

Erik Andersen andersen at lineo.com
Fri Apr 27 15:37:35 UTC 2001


On Fri Apr 27, 2001 at 11:16:51AM -0400, Thuys, Michiel wrote:
> 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?

Agreed and fixed.  Thanks!

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the uClibc mailing list